Hi everyone.
i have this code, and all code is running and is correct but i need to make a simple animation, that is…when i touch on one of my button, the animation will be frame 1 to frame 5 and when i touch on other button i need the inverse, frame 5 to frame 1, i dont need the touch button code etc, only need help on sprite animation of frame 1 to 5 and frame 5 to 1.
this is the code:
local SpriteSheet1=SpriteAPI.newSpriteSheetFromData("ola.png",pause\_background\_code.getSpriteSheetData())
local SpriteSet2 = SpriteAPI.newSpriteSet (SpriteSheet1, 1, 5 )
local pause\_background = sprite.newSprite( SpriteSet2 )
now i need to make a simple animation that i said above.
Thanks corona community
[import]uid: 26056 topic_id: 18007 reply_id: 318007[/import]