Page 1 of 2
5.4 version
Posted: Sun Mar 06, 2016 10:26 am
by Mr. Kibernetik
Localization bug
viewtopic.php?f=28&t=1352 will be fixed.
Re: 5.4 version
Posted: Mon Mar 07, 2016 12:11 am
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.
Re: 5.4 version
Posted: Mon Mar 07, 2016 2:45 am
by rbytes
Nice!
Re: 5.4 version
Posted: Mon Mar 07, 2016 10:57 am
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.
Re: 5.4 version
Posted: Mon Mar 07, 2016 4:29 pm
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.
Re: 5.4 version
Posted: Mon Mar 07, 2016 4:56 pm
by rbytes
Wow! For me, this is like Christmas all over again!
Re: 5.4 version
Posted: Mon Mar 07, 2016 9:01 pm
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].
Re: 5.4 version
Posted: Tue Mar 08, 2016 4:53 am
by Mr. Kibernetik
Re: 5.4 version
Posted: Tue Mar 08, 2016 7:03 am
by Henko
Hi, do you have an indication in which version the strenght of the microphone input will be detectable in SB ? Thanks
Re: 5.4 version
Posted: Tue Mar 08, 2016 7:51 am
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.