14 lines
331 B
GDScript
14 lines
331 B
GDScript
extends Node3D
|
|
|
|
@onready var die_particles = $dieParticles
|
|
@export var audio_explode : Node
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
die_particles.emitting = true
|
|
audio_explode.play()
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|