Hello there,
I started recently with Lua/Corona (completely beginner) and bit a bit every day I learn new things
but today I tried to join different transitions to simulate a “walking person” something like this
path = {
{x = 100, y = 100},
{x = 150, y = 100},
{x = 200, y = 250},
{x = 300, y = 310},
}
for \_, p in ipairs(path) do
transition.to(sprite, { x = p.x, y = p.y, time = 500 })
end
The problem it’s what my sprite “run” directly to last position without passing through the positions, someone knows a way to solve this problem, wait until the transition was finished to continue with the next.
Any help was appreciated, thanks a lot!
[import]uid: 147615 topic_id: 27381 reply_id: 327381[/import]