blob: 72099c5de174109ed379c90bc228fe4f6285f76e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
extends Node2D
@export var play_sound := false
func _ready() -> void:
$AnimatedSprite2D.animation_finished.connect(func():
queue_free()
)
if play_sound:
$AudioStreamPlayer.play()
$AnimatedSprite2D.play()
$AnimatedSprite2D2.play()
|