in Mugen (Fighting Game Engine) can define animation like this:
Code: Select all
[Files]
sprite = kfmZ.sff ;Sprite
anim = kfm.air ;Animation
sound = kfm.snd ;Sound
; Walking Forward
[Begin Action 20]
20,0, 0,0, 3
20,1, 0,0, 3
20,2, 0,0, 3
20,3, 0,0, 3
20,4, 0,0, 3
The 3rd and 4th numbers of the element represent the X and Y offsets to the sprite's position.
5th number is the length of time to display the element before moving onto the next, measured in game-ticks.