feat: dino walking animation

This commit is contained in:
theoleuthardt 2025-03-13 14:07:06 +01:00
parent 8dd09555f2
commit d8e55e1370
3 changed files with 24 additions and 4 deletions

View file

@ -18,6 +18,10 @@ private:
static constexpr float GRAVITY = 0.4;
static constexpr float JUMP_STRENGTH = -10;
int groundLevel = 320;
int frameCount;
int currentFrame;
float frameTime;
float frameTimer;
};
#endif //DINO_HPP