diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 10:19:10 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2025-01-10 10:19:10 +0100 |
commit | 1de7cd3a1265edd2c247f5f847a5665bafd78faa (patch) | |
tree | 3ffe29af85853ce240806f6a86e3e1742301e3f7 /game/player/PlayerSubScene.cpp | |
parent | cb17c2aad3ca8c89d0f6d8305ba4f3a5c3c2a971 (diff) | |
parent | d20b25828b53af170a6534263e8de114e7fac121 (diff) |
Merge branch 'master' of https://github.com/lonkaars/crepe into wouter/game-improvements
Diffstat (limited to 'game/player/PlayerSubScene.cpp')
-rw-r--r-- | game/player/PlayerSubScene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/player/PlayerSubScene.cpp b/game/player/PlayerSubScene.cpp index dfcd763..4d17c47 100644 --- a/game/player/PlayerSubScene.cpp +++ b/game/player/PlayerSubScene.cpp @@ -145,7 +145,7 @@ PlayerSubScene::PlayerSubScene(Scene & scn) { ); player.add_component<BoxCollider>(vec2(40, 50), vec2(-20, 0)); player.add_component<Rigidbody>(Rigidbody::Data { - .gravity_scale = PLAYER_GRAVITY_SCALE, + .gravity_scale = 1.0, .body_type = Rigidbody::BodyType::DYNAMIC, .linear_velocity = vec2(PLAYER_SPEED * 0.02, 0), .collision_layers |