summaryrefslogtreecommitdiff
path: root/Scenes/Crystal.tscn
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.tscn
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.tscn')
-rw-r--r--Scenes/Crystal.tscn8
1 files changed, 7 insertions, 1 deletions
diff --git a/Scenes/Crystal.tscn b/Scenes/Crystal.tscn
index 3331edf..6701dce 100644
--- a/Scenes/Crystal.tscn
+++ b/Scenes/Crystal.tscn
@@ -1,8 +1,9 @@
-[gd_scene load_steps=9 format=2]
+[gd_scene load_steps=10 format=2]
[ext_resource path="res://Scenes/Crystal.gd" type="Script" id=1]
[ext_resource path="res://Assets/Environment/crystal.gltf" type="PackedScene" id=2]
[ext_resource path="res://Assets/blob_shadow.png" type="Texture" id=3]
+[ext_resource path="res://Assets/Sound/crystal.wav" type="AudioStream" id=4]
[sub_resource type="PrismMesh" id=3]
size = Vector3( 1, 1, 1 )
@@ -130,3 +131,8 @@ anims/RESET = SubResource( 6 )
transform = Transform( 2.5, 0, 0, 0, -1.09278e-07, -1, 0, 2.5, -4.37114e-08, 0, 0.001, 0 )
modulate = Color( 0, 0, 0, 0.435294 )
texture = ExtResource( 3 )
+
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource( 4 )
+volume_db = -20.0
+pitch_scale = 0.7