NextAnimDirection

Syntax:

NextAnimDirection( AnimSprite )

Parameters:

AnimSprite

=

your .AnimSprite


Description:

Set the next Direction in the Animation.


When the last Direction was currently used, the animation

begins with the first direction again.


Example:

  LoadSprite(1,"big.bmp",0)
  TransparentSpriteColor(1,255,0,255)
  CreateAnimSprite(big.AnimSprite,1,75,75)

  ; in game loop
  DisplayAnimSprite(big,100,100)
  NextAnimDirection(big)


Supported OS:   Windows, Linux