PrevAnimDirection

Syntax:

PrevAnimDirection( AnimSprite )

Parameters:

AnimSprite

=

your .AnimSprite


Description:

Set the previous Direction in the Animation.


When the first Direction was currently used, the animation

is set to the last Direction now.


Example:

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

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


Supported OS:   Windows, Linux