diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 11:10:05 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 11:10:05 +0100 |
commit | a9c6e86e4d95f4f4986be9016779dcc26a925862 (patch) | |
tree | 27fb51d2b1ab0d260cfc6b9ebed4c7fceedcee34 /game/player | |
parent | 1de7cd3a1265edd2c247f5f847a5665bafd78faa (diff) |
animation working + removed bullet colliding with dead enemies
Diffstat (limited to 'game/player')
-rw-r--r-- | game/player/PlayerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/player/PlayerScript.cpp b/game/player/PlayerScript.cpp index c3843ca..0fadade 100644 --- a/game/player/PlayerScript.cpp +++ b/game/player/PlayerScript.cpp @@ -159,7 +159,7 @@ void PlayerScript::fixed_update(crepe::duration_t dt) { if (current_jetpack_sound > 7) { current_jetpack_sound = 0; } - } else if (transform.position.y == 195) { + } else if (transform.position.y == 200) { Rigidbody & rb = this->body; if (prev_anim != 0 && rb.data.linear_velocity.x != 0) { for (Animator & anim : animators) { |