Hi
How to make a simple loop… I want to transition a object from A to B and then from B to A in loop.
I made something like this
local moveboard = function()
local movedown = function()
transition.to(object, { 200, y = 200, onComplete = moveboard} )
end
transition.to(object, {200 , y =300, onComplete= movedown } )
end
moveboard()
It’s moving but it stops !!!
by the way if you have few object on a screen that should move I suppose to use transition or is different way for many objects ?
Thank you [import]uid: 13156 topic_id: 5947 reply_id: 305947[/import]
the same.
[import]uid: 13156 topic_id: 5947 reply_id: 20565[/import]