in the shape’s file whats
easing
i see it being required but thats it
is it corona adding more easing options, a 3rd party lib., or something else
in the shape’s file whats
easing
i see it being required but thats it
is it corona adding more easing options, a 3rd party lib., or something else
Probably forgot to remove. Yes, we will be adding more easing functions.
great thx
are we able to tween the gradient fill
will we be getting a texture fill, perhaps a fourth arg. to image fill so if the image is smaller then the object it will either repeat the image or stretch the image
Yes, there are color channel properties for the first and second colors.
However there is a bug where, in the version we seeded out, the channels range from 0 to 255.
In future versions, the color channels will range from 0 to 1.
For the version you have, you would tween like this:
[lua]
local dir = “up”
local bkgd = display.newRoundedRect( 100, 350, halfW, halfW, 20 )
bkgd.fill = { type=“gradient”, color1={ 1, 0, 0 }, color2={0, 0, 1}, direction=dir }
– Tween first color from red to green. Note use of 255 due to bug.
transition.to( bkgd.fill, { r1=0, g1=255 } )
[/lua]
just a little something i noticed. you look a little pale in your avatar lol
Must be the (lack of a) tan I get from my computer monitor
Move to England; We have a higher voltage, that should boost your monitor’s output
lol
Probably forgot to remove. Yes, we will be adding more easing functions.
great thx
are we able to tween the gradient fill
will we be getting a texture fill, perhaps a fourth arg. to image fill so if the image is smaller then the object it will either repeat the image or stretch the image
Yes, there are color channel properties for the first and second colors.
However there is a bug where, in the version we seeded out, the channels range from 0 to 255.
In future versions, the color channels will range from 0 to 1.
For the version you have, you would tween like this:
[lua]
local dir = “up”
local bkgd = display.newRoundedRect( 100, 350, halfW, halfW, 20 )
bkgd.fill = { type=“gradient”, color1={ 1, 0, 0 }, color2={0, 0, 1}, direction=dir }
– Tween first color from red to green. Note use of 255 due to bug.
transition.to( bkgd.fill, { r1=0, g1=255 } )
[/lua]
just a little something i noticed. you look a little pale in your avatar lol
Must be the (lack of a) tan I get from my computer monitor
Move to England; We have a higher voltage, that should boost your monitor’s output
lol