From 588b84e8e53a1fec17ddfe5d910ef7e00fd3c192 Mon Sep 17 00:00:00 2001 From: Max-001 Date: Sun, 12 Jan 2025 11:48:46 +0100 Subject: Fix velocity wall fragments --- game/background/StartSubScene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/background/StartSubScene.cpp b/game/background/StartSubScene.cpp index d2d30ea..ba80517 100644 --- a/game/background/StartSubScene.cpp +++ b/game/background/StartSubScene.cpp @@ -296,7 +296,7 @@ void StartSubScene::create_wall_fragments(crepe::Scene & scn, float begin_x) { frag_5_sprite.active = false; Rigidbody & frag_5_rb = frag_5.add_component(Rigidbody::Data { .gravity_scale = 1.0, - .linear_velocity = vec2(600, -800), + .linear_velocity = vec2(600, -500), .linear_velocity_coefficient = vec2(0.25, 0.15), .angular_velocity = 100, .angular_velocity_coefficient = 0.55, @@ -440,7 +440,7 @@ void StartSubScene::create_wall_fragments(crepe::Scene & scn, float begin_x) { frag_11_sprite.active = false; Rigidbody & frag_11_rb = frag_11.add_component(Rigidbody::Data { .gravity_scale = 1.0, - .linear_velocity = vec2(600, -800), + .linear_velocity = vec2(600, -400), .linear_velocity_coefficient = vec2(0.3, 0.3), .angular_velocity = 200, .angular_velocity_coefficient = 0.55, -- cgit v1.2.3