SetAnimLoopDirection | ||||||
Syntax: | ||||||
SetAnimLoopDirection( AnimSprite, Direction ) | ||||||
Parameters: | ||||||
| ||||||
Description: | ||||||
Set a new direction for automatic AnimSprite animation. Direction = 0: animate to right - next frame (default) Direction = 1: animate to left - previous frame | ||||||
Example: | ||||||
LoadSprite(1,"player.bmp",0) CreateAnimSprite(player.AnimSprite,1,75,75,40) SetAnimLoopDirection(player,1) ; play animation reversed | ||||||
|