PrevAnimFrame | |||
Syntax: | |||
PrevAnimFrame( AnimSprite ) | |||
Parameters: | |||
| |||
Description: | |||
This Command sets the previous Frame in the Animation. When the first frame was current, the animation is set to the last frame again - so its an endless loop. | |||
Example: | |||
LoadSprite(1,"big.bmp",0) TransparentSpriteColor(1,255,0,255) CreateAnimSprite(big.AnimSprite,1,75,75) ; in game loop DisplayAnimSprite(big,100,100) PrevAnimFrame(big) | |||
|