I was wondering what is the difference between normal
imagecommands and ones that start with
tween_. Would be helpful to know!
edited 1×, last 05.04.18 03:26:19 am
imagecommands and ones that start with
tween_. Would be helpful to know!
tween_scale.
tween_.
image[id]=image("gfx/image.png",568,649,2) imagealpha(image[id],0.5) tween_scale(image[id],30,0,1)
tween_scale(image[id],30,0,0)
local x=568 local y=649 local w=100 -- todo: set actual image width here image[id]=image("gfx/image.png",x,y,2) imagealpha(image[id],0.5) tween_scale(image[id],30000,0,1) tween_move(image[id],30000,x-w,y)
local x=568 local y=649 local w=100 -- todo: set actual image width here image[id]=image("gfx/image.png",x,y,2) imagealpha(image[id],0.5) tween_scale(image[id],30000,0,1) tween_move(image[id],60000,x-w,y)
x-w/2or does that lead to a different result?