Work on vfx and sfx for traps.
This commit is contained in:
11
scripts/trap_fx.gd
Normal file
11
scripts/trap_fx.gd
Normal file
@@ -0,0 +1,11 @@
|
||||
extends Node3D
|
||||
|
||||
@onready var anim_player : AnimationPlayer = $AnimationPlayer
|
||||
|
||||
func _ready() -> void:
|
||||
anim_player.play("default")
|
||||
|
||||
|
||||
func _on_timer_timeout() -> void:
|
||||
print("Done")
|
||||
queue_free()
|
||||
Reference in New Issue
Block a user