NextAnimFrame

Syntax:

NextAnimFrame( AnimSprite )

Parameters:

AnimSprite

=

your .AnimSprite


Description:

This Command sets the next Frame in the Animation.


When the last frame is done, the animation begins

with the first 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)
  NextAnimFrame(big)


Supported OS:   Windows, Linux