Add the old computer screen popup.

This commit is contained in:
yagigreg committed 2026-10-17 20:56:59 -05:00
1 parent fef374fe95
commit 81322e787a
8 files changed
+131 -4

No files matched your search

+9 -1
View File
@@ -99,7 +99,12 @@ func _process(delta: float) -> void:
if Input.is_action_just_released("restart") or (Input.is_action_pressed("controller_restart_left") and Input.is_action_pressed("controller_restart_right")):
get_tree().reload_current_scene()
if Input.is_action_just_released("interact"):
%OldComputer.close()
if Input.is_action_just_pressed("jump"):
%OldComputer.close()
if is_on_floor():
velocity.y = JUMP_VELOCITY
elif !is_on_floor() and jumps >= 1:
@@ -114,7 +119,10 @@ func _process(delta: float) -> void:
print("WALL HANGING")
#velocity.y = 0
#velocity.x = 0
if %OldComputer.visible:
return
var direction = Input.get_axis("move_left","move_right")
if direction < 0: