summaryrefslogtreecommitdiff
path: root/scenes/background_music.tscn
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 23:56:42 +0200
committerrom <romangraef@gmail.com>2021-04-26 23:56:56 +0200
commita7b42bd030efaaa70769cda2e368a42b7ead4942 (patch)
treed7fe8e31c3827bcbb89a85289ee3983d60d76f95 /scenes/background_music.tscn
parent6b07fc93cea108bcbcce1cbab7c70721f2dcb85a (diff)
downloadldjam48-a7b42bd030efaaa70769cda2e368a42b7ead4942.tar.gz
ldjam48-a7b42bd030efaaa70769cda2e368a42b7ead4942.tar.bz2
ldjam48-a7b42bd030efaaa70769cda2e368a42b7ead4942.zip
pause & puzzle solver
Diffstat (limited to 'scenes/background_music.tscn')
-rw-r--r--scenes/background_music.tscn7
1 files changed, 6 insertions, 1 deletions
diff --git a/scenes/background_music.tscn b/scenes/background_music.tscn
index bad9601..221be14 100644
--- a/scenes/background_music.tscn
+++ b/scenes/background_music.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=7 format=2]
+[gd_scene load_steps=8 format=2]
[ext_resource path="res://sfx/sound_track_1.wav" type="AudioStream" id=1]
[ext_resource path="res://scenes/background_music.gd" type="Script" id=2]
@@ -6,11 +6,13 @@
[ext_resource path="res://sfx/hover.wav" type="AudioStream" id=4]
[ext_resource path="res://sfx/click.wav" type="AudioStream" id=5]
[ext_resource path="res://sfx/click2.wav" type="AudioStream" id=6]
+[ext_resource path="res://sfx/loose_heart.wav" type="AudioStream" id=7]
[node name="Parent" type="Node"]
script = ExtResource( 2 )
[node name="Sound1" type="AudioStreamPlayer" parent="."]
+pause_mode = 2
stream = ExtResource( 1 )
volume_db = -13.867
autoplay = true
@@ -30,4 +32,7 @@ volume_db = -27.647
stream = ExtResource( 6 )
volume_db = -38.389
+[node name="LoseHeart" type="AudioStreamPlayer" parent="."]
+stream = ExtResource( 7 )
+
[connection signal="finished" from="Sound1" to="." method="_on_AudioStreamPlayer_finished"]