SetAnimLoopDelay | ||||||
Syntax: | ||||||
SetAnimLoopDelay( AnimSprite, Delay ) | ||||||
Parameters: | ||||||
| ||||||
Description: | ||||||
Set a new delay in milliseconds between frames for this AnimSprite. Delay = 0: no automatic animation Delay > 0: delay between each frame in milliseconds ( 1 - 60000 ) | ||||||
Example: | ||||||
LoadSprite(1,"player.bmp",0) CreateAnimSprite(player.AnimSprite,1,75,75,100) SetAnimLoopDelay(player,40) ; delay 40 = 25 FPS | ||||||
|