working on blockout 4 - which should end up being level 1

This commit is contained in:
derek
2025-01-09 16:59:54 -06:00
parent e5b1926c79
commit 5b929a31cd
106 changed files with 2509 additions and 70 deletions

View File

@@ -28,10 +28,11 @@ func _on_load_pressed() -> void:
func _unhandled_input(event: InputEvent) -> void:
if Input.is_action_just_pressed("escape"):
if paused:
resume()
else:
pause()
if player.is_on_floor():
if paused:
resume()
else:
pause()
func pause():
paused = true