From: Lukas Krickl Date: Sun, 26 Jan 2025 05:08:34 +0000 (+0100) Subject: animation: Added new animation file X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=b852ec6aaf8e84d536bd63e8aabf27fb74805039;p=gbrg%2F.git animation: Added new animation file This will replace the existing manual playback of animations with a more general system. --- diff --git a/src/animation.s b/src/animation.s new file mode 100644 index 0000000..1195698 --- /dev/null +++ b/src/animation.s @@ -0,0 +1,7 @@ +; animations can be queued +; each frame the latest animation is +; updated + + ; updates the current animation +anim_update: + ret diff --git a/src/main.s b/src/main.s index 9db5668..bacf6d5 100644 --- a/src/main.s +++ b/src/main.s @@ -64,6 +64,7 @@ main: #include "collision.s" #include "actor.s" #include "audio.s" +#include "animation.s" #include "tiles.inc"