AnimSprite Overview


AnimSprite

CreateAnimSprite()

Create an AnimSprite out of a PureBasic sprite

DisplayAnimSprite()

Display an animated sprite


Animation Control - Automation

SetAnimLoopDelay()

Set the delay time between frames

SetAnimLoopDirection()

Set the direction for automatic frame animation


Animation Control - Frames

SetAnimFrame()

Set a new current frame in the AnimSprite

NextAnimFrame()

Set the animation to the next frame

PrevAnimFrame()

Set the animation to the previous frame


Animation Control - Directions

SetAnimDirection()

Set a new current direction in the AnimSprite

NextAnimDirection()

Set the animation to the next direction

PrevAnimDirection()

Set the animation to the previous direction


Animation Collision Checking

CollisionAnimAnim()

Check collision between 2 AnimSprites

CollisionAnimSprite()

Check collision AnimSprite vs. Sprite

CollisionSpriteAnim()

Check collision Sprite vs. AnimSprite


Get Animation Info

CurrentAnimFrame()

Get the currently used frame number

CurrentAnimDirection()

Get the currently used direction number

AnimFrameCount()

Get the count of frames in an AnimSprite

AnimDirectionCount()

Get the count of directions in an AnimSprite

AnimLoopDelay()

Get the current delay between frames

AnimLoopDirection()

Get the current direction for automatic animation