diff options
author | loek <32883851+lonkaars@users.noreply.github.com> | 2025-01-10 09:10:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-10 09:10:42 +0100 |
commit | d20b25828b53af170a6534263e8de114e7fac121 (patch) | |
tree | b1965b053d17405f12ce5043577237880df0f205 /game/player/PlayerSubScene.cpp | |
parent | 8b32dbc33c434f84b4aab98819147c3b8416ff69 (diff) | |
parent | fbf1d0a0f75ba6a7caced72d9bb0a7f66763122b (diff) |
Merge pull request #124 from lonkaars/loek/game
improve player responsiveness
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 c4d689a..371bc42 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, 60), 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 |