mirror of
https://github.com/theoleuthardt/DinoGame.git
synced 2026-06-13 09:27:57 +00:00
fix: y position of dino and cacti now on the desert
This commit is contained in:
parent
c7554cbb81
commit
8dd09555f2
3 changed files with 7 additions and 5 deletions
|
|
@ -17,6 +17,7 @@ private:
|
|||
bool isJumping;
|
||||
static constexpr float GRAVITY = 0.4;
|
||||
static constexpr float JUMP_STRENGTH = -10;
|
||||
int groundLevel = 320;
|
||||
};
|
||||
|
||||
#endif //DINO_HPP
|
||||
Loading…
Add table
Add a link
Reference in a new issue