un-fuck physics

This commit is contained in:
Evan Pratten 2021-10-01 19:27:21 -04:00
parent 2b471bd8d4
commit f221aef192

View File

@ -16,7 +16,7 @@ impl FrameUpdate for InGameScreen {
let is_pause = raylib.is_key_down(KeyboardKey::KEY_ESCAPE);
if is_jump {
self.player.apply_force(Vector2::new(0.0, 1.0));
self.player.apply_force(Vector2::new(0.0, -1.0));
}
}
}