01 - Make player/event play action
Wanna make a character play a spritesheet? Firstly, prepare a spritesheet.
This spritesheet contains 6 frames, so I’ll set it to play all 6 by using this script call within a Movement Route command: playFrames(1, 6, 3). The 3 indicates a 3-frame delay between each frame. A lower number increases the playback speed. So what I'm gonna do: Change character image to the sprite above, the call playFrames, then change character sprite to idle so it doesn't stuck to last frame of the file above.
02 - Make player/event play action (manual mode)
Using the same spritesheet above, I'll play the same animation but with a method that gives you more control after each frame. The script I'm gonna call is toFrame(X).
Just pick a spritesheet file, set the Row and Column values, and then go to Position Settings to choose where the animation will appear—that’s all you need to do. The other settings are optional. But what if you’re working with a huge animation, say 300 frames? Packing that into a single spritesheet would make the file size massive. For that, you can switch to the "Use Separated Frames" option instead.
In here I have 300 frames and my file names will be Tornado_1 -> Tornado_300