mirror of
https://github.com/Noratrieb/game-wip-dontplay.git
synced 2026-01-14 19:55:02 +01:00
Add hspeed meter
This commit is contained in:
parent
0f34f18bc0
commit
7745437642
1 changed files with 1 additions and 0 deletions
|
|
@ -264,6 +264,7 @@ fn debug_panel_ui(
|
|||
"Player offset from center: {}",
|
||||
LengthDisp(tp.x as i64 - wp_to_tp(WorldPos::CENTER) as i64)
|
||||
));
|
||||
ui.label(format!("Hspeed: {}", game.player.hspeed));
|
||||
ui.label(format!("Vspeed: {}", game.player.vspeed));
|
||||
ui.label("Gravity");
|
||||
ui.add(egui::DragValue::new(&mut game.gravity));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue