Add pausing

This commit is contained in:
2025-01-08 16:53:40 -06:00
parent c1b3601170
commit bb9140169f
12 changed files with 115 additions and 4 deletions

View File

@@ -21,6 +21,9 @@ func updateOverworldLogic(delta) -> void:
if(collider.has_method("interact")):
collider.interact(self)
if Input.is_action_just_pressed("pause"):
getSystems().PAUSE.playerPauseToggle();
func updateMovement(delta) -> void:
# User movement
var dir:Vector2 = Input.get_vector("left", "right", "up", "down");