From b852ec6aaf8e84d536bd63e8aabf27fb74805039 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sun, 26 Jan 2025 06:08:34 +0100 Subject: [PATCH] animation: Added new animation file This will replace the existing manual playback of animations with a more general system. --- src/animation.s | 7 +++++++ src/main.s | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/animation.s 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" -- 2.30.2