diff --git a/src/levels/Game.tscn b/src/levels/Game.tscn index f55da46..01f245d 100644 --- a/src/levels/Game.tscn +++ b/src/levels/Game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=8 format=2] +[gd_scene load_steps=11 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] @@ -7,6 +7,9 @@ [ext_resource path="res://src/entities/Enemy.tscn" type="PackedScene" id=5] [ext_resource path="res://src/levels/Game.gd" type="Script" id=6] [ext_resource path="res://src/ui/TimeSurvived.tscn" type="PackedScene" id=7] +[ext_resource path="res://src/music/BaseChoir.mp3" type="AudioStream" id=8] +[ext_resource path="res://src/music/BaseDrum.mp3" type="AudioStream" id=9] +[ext_resource path="res://src/music/BaseBell.mp3" type="AudioStream" id=10] [node name="Game" type="Node2D"] script = ExtResource( 6 ) @@ -14,6 +17,20 @@ script = ExtResource( 6 ) [node name="PhaseOne" type="CanvasLayer" parent="."] layer = 0 +[node name="PhaseOneMusic" type="Node" parent="PhaseOne"] + +[node name="BaseBell" type="AudioStreamPlayer" parent="PhaseOne/PhaseOneMusic"] +stream = ExtResource( 10 ) +autoplay = true + +[node name="BaseChoir" type="AudioStreamPlayer" parent="PhaseOne/PhaseOneMusic"] +stream = ExtResource( 8 ) +autoplay = true + +[node name="BaseDrum" type="AudioStreamPlayer" parent="PhaseOne/PhaseOneMusic"] +stream = ExtResource( 9 ) +autoplay = true + [node name="PhaseOneContainer" type="Node2D" parent="PhaseOne"] [node name="Background" parent="PhaseOne/PhaseOneContainer" instance=ExtResource( 1 )] @@ -30,6 +47,7 @@ script = null position = Vector2( 500, 438 ) [node name="Enemy" parent="PhaseOne/PhaseOneContainer" instance=ExtResource( 5 )] +visible = false position = Vector2( 755, 508 ) [node name="UserInterface" type="CanvasLayer" parent="."] diff --git a/src/music/BaseBell.mp3.import b/src/music/BaseBell.mp3.import new file mode 100644 index 0000000..5ce4675 --- /dev/null +++ b/src/music/BaseBell.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/BaseBell.mp3-d9e3eb6f802cf5cf76c9dcde68c4dd9e.mp3str" + +[deps] + +source_file="res://src/music/BaseBell.mp3" +dest_files=[ "res://.import/BaseBell.mp3-d9e3eb6f802cf5cf76c9dcde68c4dd9e.mp3str" ] + +[params] + +loop=true +loop_offset=0 diff --git a/src/music/BaseChoir.mp3.import b/src/music/BaseChoir.mp3.import new file mode 100644 index 0000000..cd71cab --- /dev/null +++ b/src/music/BaseChoir.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/BaseChoir.mp3-124183b29102151c22280d44b12d3d3d.mp3str" + +[deps] + +source_file="res://src/music/BaseChoir.mp3" +dest_files=[ "res://.import/BaseChoir.mp3-124183b29102151c22280d44b12d3d3d.mp3str" ] + +[params] + +loop=true +loop_offset=0 diff --git a/src/music/BaseDrum.mp3.import b/src/music/BaseDrum.mp3.import new file mode 100644 index 0000000..1fb68b2 --- /dev/null +++ b/src/music/BaseDrum.mp3.import @@ -0,0 +1,15 @@ +[remap] + +importer="mp3" +type="AudioStreamMP3" +path="res://.import/BaseDrum.mp3-a4202f6ed509ab88b2f6a3b5c7f88c7c.mp3str" + +[deps] + +source_file="res://src/music/BaseDrum.mp3" +dest_files=[ "res://.import/BaseDrum.mp3-a4202f6ed509ab88b2f6a3b5c7f88c7c.mp3str" ] + +[params] + +loop=true +loop_offset=0