feat: Add new sprite animation assets, including 15sec and 30sec sprites, and initial animation and main scenes with supporting scripts.

This commit is contained in:
Yogi Wiguna
2026-03-25 11:23:16 +08:00
parent a99297dd65
commit f482909df5
10 changed files with 793 additions and 30 deletions
+7
View File
@@ -2,6 +2,7 @@ extends Control
@onready var animated_sprite_2d: AnimatedSprite2D = $StopPhase/AnimatedSprite2D
@onready var animation_player: AnimationPlayer = $AnimationPlayer
@onready var count_down_animation: AnimatedSprite2D = $CountDown/CountDownAnimation
#func _input(event: InputEvent) -> void:
#if event.is_action_pressed("grab_item"):
@@ -21,3 +22,9 @@ func stop_phase_anim_play():
func stop_phase_anim_stop():
animated_sprite_2d.stop()
func play_countdown_30s():
count_down_animation.play("30s")
func play_countdown_15s():
count_down_animation.play("15s")