mirror of
https://github.com/theoleuthardt/DinoGame.git
synced 2026-06-13 09:27:57 +00:00
feat: dino walking animation
This commit is contained in:
parent
8dd09555f2
commit
d8e55e1370
3 changed files with 24 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue