This commit is contained in:
2024-01-26 00:00:07 +01:00
parent 0d2e01073c
commit bb763ea4e2
140 changed files with 30775 additions and 296 deletions

View File

@@ -3,7 +3,10 @@ extends Completer
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func _on_interaction_area_interacted():
animation_player.play("press")
if completed:
animation_player.play_backwards("press")
else:
animation_player.play("press")
toggle_complete()
if one_shot:
await animation_player.animation_finished