[QoL] FPS Counter disabled by default, show message after screenshot, show message if noclip is enabled/disabled (#591)

* FPS counter is off by default, enable with F4

* A message or error is now shown on-screen if a screenshot is taken with F2

* Show message when noclip is enabled or disabled
This commit is contained in:
guzlad
2025-10-14 17:04:08 +02:00
committed by GitHub
parent 74270bcca4
commit a0369cd612
4 changed files with 7 additions and 0 deletions

View File

@@ -270,6 +270,7 @@ func _physics_process(delta: float) -> void:
set_power_state_frame()
if Input.is_action_just_pressed("debug_noclip") and Global.debug_mode:
state_machine.transition_to("NoClip")
Global.log_comment("NOCLIP Enabled")
up_direction = -gravity_vector
handle_directions()
handle_block_collision_detection()