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
This commit is contained in:
n00b
2024-10-21 18:35:13 -04:00
parent 78c897068b
commit 9cac24402e
22 changed files with 1009 additions and 2658 deletions

View File

@@ -0,0 +1,15 @@
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)