From 33c1c8b739a8153196de55ae9b02ed046dd12647 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 4 Apr 2022 00:56:20 +0200 Subject: [PATCH] :bug: Fix missing music (again?) --- src/levels/Game.tscn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/levels/Game.tscn b/src/levels/Game.tscn index 435f73a..6e8b227 100644 --- a/src/levels/Game.tscn +++ b/src/levels/Game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=21 format=2] +[gd_scene load_steps=24 format=2] [ext_resource path="res://src/mechanics/Background.tscn" type="PackedScene" id=1] [ext_resource path="res://src/mechanics/Darkness.tscn" type="PackedScene" id=2] @@ -18,6 +18,9 @@ [ext_resource path="res://src/entities/enemies/EnemySnowmanRight.png" type="Texture" id=16] [ext_resource path="res://src/behaviours/graphics/FourSidedSprite.tscn" type="PackedScene" id=17] [ext_resource path="res://src/behaviours/movement/AttractedToMovement.tscn" type="PackedScene" id=18] +[ext_resource path="res://src/music/BaseDrum.mp3" type="AudioStream" id=19] +[ext_resource path="res://src/music/BaseBell.mp3" type="AudioStream" id=20] +[ext_resource path="res://src/music/BaseChoir.mp3" type="AudioStream" id=21] [sub_resource type="CapsuleShape2D" id=1] radius = 9.0 @@ -58,14 +61,17 @@ layer = 0 script = ExtResource( 11 ) [node name="Bell" type="AudioStreamPlayer" parent="PhaseOne/Music"] +stream = ExtResource( 20 ) volume_db = -80.0 autoplay = true [node name="Choir" type="AudioStreamPlayer" parent="PhaseOne/Music"] +stream = ExtResource( 21 ) volume_db = -80.0 autoplay = true [node name="Drum" type="AudioStreamPlayer" parent="PhaseOne/Music"] +stream = ExtResource( 19 ) volume_db = -80.0 autoplay = true