feat: Add new animation scene and script to manage ready-go, safe-zone, and stop-phase visual effects.

This commit is contained in:
Yogi Wiguna
2026-03-24 17:21:57 +08:00
parent f7463d57cd
commit fc40a00fc2
4 changed files with 1797 additions and 11 deletions
+14
View File
@@ -0,0 +1,14 @@
extends Control
@onready var animated_sprite_2d: AnimatedSprite2D = $StopPhase/AnimatedSprite2D
@onready var animation_player: AnimationPlayer = $AnimationPlayer
func _input(event: InputEvent) -> void:
if event.is_action_pressed("grab_item"):
animation_player.play("stop-phase")
func stop_phase_anim_play():
animated_sprite_2d.play("stop-phase")
func stop_phase_anim_stop():
animated_sprite_2d.stop()