Hello guys ,
im fairly new to corona , my question is how do you get Objects to appear and dissapear for some amounts of seconds.
Thank you
Hello guys ,
im fairly new to corona , my question is how do you get Objects to appear and dissapear for some amounts of seconds.
Thank you
One way is to use transitions:
local tmp = display.newCircle(50,50,50) tmp:setFillColor(1,1,0) transition.to( tmp, { delay = 1000, time = 500, alpha = 0 } ) transition.to( tmp, { delay = 2000, time = 500, alpha = 1 } )
Thank you Very helpful information
One way is to use transitions:
local tmp = display.newCircle(50,50,50) tmp:setFillColor(1,1,0) transition.to( tmp, { delay = 1000, time = 500, alpha = 0 } ) transition.to( tmp, { delay = 2000, time = 500, alpha = 1 } )
Thank you Very helpful information