Files
RCBASIC4/rcbasic_build/intern_lib/sprite_animation.bas
n00b 9cac24402e Finished Tiling System
* Finished working on tiling
* Changed how sprite layers work. Sprite layers are now not confined to the limits of the actual canvas but instead will decide where to draw each sprite based on the canvas offset and the sprites location
2024-10-21 18:35:13 -04:00

16 lines
740 B
QBasic

Function CreateSpriteAnimation(sprite, anim_length, speed)
Sub SetSpriteFrame(sprite, frame)
Function GetSpriteFrame(sprite)
Sub SetSpriteAnimationFrame(sprite, animation, anim_frame, frame)
Function GetSpriteAnimationFrame(sprite, animation, anim_frame)
Sub SetSpriteAnimationLength(sprite, animation, anim_length)
Function GetSpriteAnimationLength(sprite, animation)
Sub SetSpriteAnimationSpeed(sprite, animation, speed)
Function GetSpriteAnimationSpeed(sprite, animation)
Sub SetSpriteAnimation(sprite, animation, num_loops)
Function GetSpriteAnimation(sprite)
Function GetSpriteCurrentAnimationFrame(sprite)
Function NumSpriteAnimationLoops(sprite)
Function SpriteAnimationIsPlaying(sprite)
Sub DeleteSpriteAnimation(sprite, animation)