STG-2600 death animation.

This commit is contained in:
Haze Weathers 2023-10-16 11:21:49 -04:00
parent f61dbb3d32
commit 46578f033f
6 changed files with 703 additions and 18 deletions

View file

@ -0,0 +1,11 @@
extends Node2D
func _ready() -> void:
Audio.play_sound(Audio.a_explosion,Audio.ac_die)
var sprite: AnimatedSprite = get_child(randi() % get_child_count())
sprite.visible = true
sprite.play()
func _on_animation_finished() -> void:
queue_free()