From b06b259c54e09f1a4026191d6eec9684599bd370 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 23 Feb 2021 22:22:49 -0500 Subject: Started working on ladders TODO: * all the animations are weird. we will need to have an adjustable framerate bc the climbing animation does not look right at the current rate. (also remove the manual animation stuff ig) * does the medium stuff seem good and right? i am kinda not satisfied with it. * running onto a ladder causes the characters to bunch up bc the movement speed is slowed down but the trails are not doubled * no ladder running sound * shadows should vanish while on a ladder * uhh if you end a cutscene while on a ladder it resets the animation to "still" which is wrong. will this ever happen? idk * adding a sprite to your party while you are on a ladder?? --- src/animation_system.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/animation_system.h') diff --git a/src/animation_system.h b/src/animation_system.h index a116673..8352c19 100644 --- a/src/animation_system.h +++ b/src/animation_system.h @@ -17,6 +17,9 @@ public: void tick(double dt) override; + // Advances animation by a frame. Only to be used on manual animations. + void advanceAnimation(int spriteId); + void initSprite(int spriteId, std::string_view filename); void setSpriteDirection(int spriteId, Direction dir); -- cgit 1.4.1