aboutsummaryrefslogtreecommitdiff
path: root/game/player/PlayerSubScene.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2025-01-09 17:33:00 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2025-01-09 17:33:00 +0100
commit4a435b8fe98c5db1ecd95619997af10146135e85 (patch)
treea96fded339171e778cbcc254a5035ff4ffda7192 /game/player/PlayerSubScene.cpp
parent8b32dbc33c434f84b4aab98819147c3b8416ff69 (diff)
improve player responsiveness
Diffstat (limited to 'game/player/PlayerSubScene.cpp')
-rw-r--r--game/player/PlayerSubScene.cpp2
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