Merge branch 'main' of http://git.nanoyagi.com/NanoYagi/JumpRopeOldTech
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
commit
4d9cb93483
5 files changed
+22
-13
No files matched your search
+7
-4
@@ -119,8 +119,14 @@ 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 %OldComputer.visible:
|
||||
if Input.is_action_just_released("interact") or Input.is_action_just_released("jump"):
|
||||
%OldComputer.close()
|
||||
return
|
||||
|
||||
if Input.is_action_just_released("interact"):
|
||||
%OldComputer.close()
|
||||
for interactable in get_tree().get_nodes_in_group("nearby_interactables"):
|
||||
interactable.interact()
|
||||
|
||||
if Input.is_action_just_pressed("jump"):
|
||||
%OldComputer.close()
|
||||
@@ -143,9 +149,6 @@ func _process(delta: float) -> void:
|
||||
#velocity.y = 0
|
||||
#velocity.x = 0
|
||||
|
||||
if %OldComputer.visible:
|
||||
return
|
||||
|
||||
var direction = Input.get_axis("move_left","move_right")
|
||||
|
||||
if direction < 0:
|
||||
|
||||
Reference in new issue
Block a user