Hi everybody,
I’m a newbie with Lua and I have a problem.
I’m inserting a sprite of a girl walking, but when I try to loop her back it doesn’t work.
local eroeSheet = graphics.newImageSheet("img/livellocamera/camminata.png", opt) local seqs ={{ name = "runLeft", start = 21, count = 20, time = 800, loopCount = 0, loopDirection ="forward" }, { name = "runRight", start = 1, count = 20, time = 800, loopCount = 1, loopDirection ="forward" } } eroe=display.newSprite(camera,eroeSheet,seqs)
This is my code, am I missing something?