From 101d2d4be6e0b2f2b9d2914505d97a3b7fdeb37e Mon Sep 17 00:00:00 2001 From: devil-ira Date: Sun, 10 Jul 2022 22:25:25 +0200 Subject: [PATCH 1/2] Bounce! --- examples/games/contributors.rs | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/examples/games/contributors.rs b/examples/games/contributors.rs index 0bad27798aea0..c863e3299218e 100644 --- a/examples/games/contributors.rs +++ b/examples/games/contributors.rs @@ -58,7 +58,7 @@ struct Velocity { rotation: f32, } -const GRAVITY: f32 = -9.821 * 100.0; +const GRAVITY: f32 = 9.821 * 100.0; const SPRITE_SIZE: f32 = 75.0; const SATURATION_DESELECTED: f32 = 0.3; @@ -243,7 +243,7 @@ fn velocity_system(time: Res