Hello,
I’m trying to do an animation in my scene and due to the high number of images, TexturePack created Three (3) Sprite Sheets.
From the tutorial I have learned that the general method of implementation is:
local sheetName = { }
local mySheet = graphics.newImageSheet( “image.png”, sheetName, Width, Height )
local sequence = { }
local animation = display.newSprite( mySheet, sequence )
animation.x
animation.y
I use the above code for running an animation from the frams on a single Sprite Sheet and EVERYTHING WORK FINE.
My question is, how do you run animation from Three Different Sprite Sheets one after another?
I tried typing everything three times, and then add the end did:
animationOne = play()
animationOne = remove()
animationTwo = play()
animationTwo = remove()
animationThree = play()
animationThree = remove()
But it didn’t work. Just creating the 'local animationOne = display.newSprite() ’ already displays all at the same time.
Thanks!