I want when I tap the first time , the frame will change to 1.
The second time I tap , the frame will change to 2.
Instead of changing to the last frame directly.
How can I do ?
Thanks for help.
Develop games in your browser. Powerful, performant & highly capable.
On tap -> Sprite set animation frame to (self.AnimationFrame+1)
Thanks! I did it.