summaryrefslogtreecommitdiff
path: root/Scenes/Crystal.gd
diff options
context:
space:
mode:
authorHenrique Alves <henriquelalves@gmail.com>2022-07-17 12:25:39 -0300
committerHenrique Alves <henriquelalves@gmail.com>2022-07-17 12:25:39 -0300
commit06ea6608202adbcbc372e6c28065b022485563f2 (patch)
tree6b7a14cc66f6c979075219f869dfee85fe371450 /Scenes/Crystal.gd
parentf81104c60ecff4a7810501bbac9828bec12d74cc (diff)
downloadgamejam-gmtk-2022-06ea6608202adbcbc372e6c28065b022485563f2.tar.gz
gamejam-gmtk-2022-06ea6608202adbcbc372e6c28065b022485563f2.tar.bz2
gamejam-gmtk-2022-06ea6608202adbcbc372e6c28065b022485563f2.zip
Add sfx
Diffstat (limited to 'Scenes/Crystal.gd')
-rw-r--r--Scenes/Crystal.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scenes/Crystal.gd b/Scenes/Crystal.gd
index f3ac484..af5ece4 100644
--- a/Scenes/Crystal.gd
+++ b/Scenes/Crystal.gd
@@ -29,6 +29,7 @@ func cor_activate(args : Array):
yield(get_tree(), "idle_frame")
+ $AudioStreamPlayer.play()
$AnimationPlayer.play("Activate")
yield($AnimationPlayer,"animation_finished")
$AnimationPlayer.play("Active")