5.4 version

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

5.4 version

Post by Mr. Kibernetik »

Localization bug viewtopic.php?f=28&t=1352 will be fixed.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

DRAW IMAGE command will be expanded with new option to scale separately on both axis:

DRAW IMAGE n$ AT x,y SCALE s ANGLE a
DRAW IMAGE n$ AT x,y SCALE sx,sy ANGLE a
draws image with filename [n$] at coordinates [x,y] with scale value [s] on x- and y-axis or [sx] on x-axis and [sy] on y-axis, and rotated clockwise at angle value [a]. Parameter SCALE can be omitted to use scale value 1. Parameter ANGLE can be omitted to use angle value 0. Valid image types are: JPG, PNG, BMP, GIF, TIF, ICO, CUR, XBM. OPTION IMAGE POS command affects this command.

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: 5.4 version

Post by rbytes »

Nice!
The only thing that gets me down is gravity...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

SPRITE AT command will be expanded with new option to scale separately on both axis:

SPRITE n$ AT x,y SCALE s ANGLE a FLIP k
SPRITE n$ AT x,y SCALE sx,sy ANGLE a FLIP k
places sprite with name [n$] at coordinates [x] and [y], sets its scale to value [s] on x- and y-axis or [sx] to x-axis and [sy] to y-axis, and rotates it to angle [a]. Parameter FLIP allows to mirror sprite horizontally if [k] = 1, mirror vertically if [k] = 2, or show without mirroring if [k] = 0 or if FLIP is not used. Scaling and rotation are performed relatively the center of the sprite. Parameters SCALE, ANGLE and FLIP are optional, their order is arbitrary. By default scale is 1 and angle is 0. OPTION ANGLE command affects this command.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

SPRITE DA command will be expanded with new option to scale separately on both axis:

SPRITE n$ DA a DS s DX x DY y
SPRITE n$ DA a DS sx,sy DX x DY y
sets regular change of specified parameters of the sprite [n$] with each frame cycle. DA parameter sets change of angle by value [a], DS - scale by value [s] simultaneously on x- and y-axis or by value [sx] on x-axis and by value [sy] on y-axis, DX - x-coordinate by value [x], DY - y-coordinate by value [y]. Each parameter is optional but at least one should be specified. OPTION ANGLE command affects the value of DA parameter.

User avatar
rbytes
Posts: 1338
Joined: Sun May 31, 2015 12:11 am
My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet
Location: Calgary, Canada
Flag: Canada
Contact:

Re: 5.4 version

Post by rbytes »

Wow! For me, this is like Christmas all over again! :D
The only thing that gets me down is gravity...

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

GET SPRITE SCALE command will be expanded with new option to get scale separately on both axis:

GET SPRITE n$ SCALE s
GET SPRITE n$ SCALE x,y
gets current scale of sprite [n$] on both axis to numeric variable [s] or scale on x-axis to variable [x] and on y-axis to variable [y].

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

Beta version to test: viewtopic.php?f=42&t=1357#p8311

Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Re: 5.4 version

Post by Henko »

Hi, do you have an indication in which version the strenght of the microphone input will be detectable in SB ? Thanks

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 5.4 version

Post by Mr. Kibernetik »

Henko wrote:Hi, do you have an indication in which version the strenght of the microphone input will be detectable in SB ? Thanks
There is no plan, but thank you for the reminder.

Post Reply