added music/sounds

This commit is contained in:
2021-12-12 16:44:25 -06:00
parent 2c65c5f4b6
commit 877648dbc2
42 changed files with 715 additions and 548 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=88 format=2]
[gd_scene load_steps=90 format=2]
[ext_resource path="res://Player/Player.tscn" type="PackedScene" id=1]
[ext_resource path="res://Levels/Level 2.gd" type="Script" id=2]
@@ -19,6 +19,8 @@
[ext_resource path="res://Sprites/Assets/grassPatch.png" type="Texture" id=17]
[ext_resource path="res://Sprites/Assets/JournalScrap.png" type="Texture" id=18]
[ext_resource path="res://Levels/Objects/Dialogue.tscn" type="PackedScene" id=19]
[ext_resource path="res://Music/Level_2_2.mp3" type="AudioStream" id=20]
[ext_resource path="res://Music/Level_2_1.mp3" type="AudioStream" id=21]
[sub_resource type="TileSet" id=1]
0/name = "darkForestTileset.png 0"
@@ -940,6 +942,16 @@ tile_set = SubResource( 67 )
format = 1
tile_data = PoolIntArray( -589828, 0, 0, -458754, 0, 0, -393220, 0, 0 )
[node name="BGM1" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 21 )
volume_db = -10.0
autoplay = true
[node name="BGM2" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 20 )
volume_db = -10.0
[connection signal="enter_portal" from="YSort/Player/Camera2D" to="." method="_on_Camera2D_enter_portal"]
[connection signal="body_entered" from="Collectible/Area2D" to="." method="_on_Area2D_body_entered"]
[connection signal="body_entered" from="TreasureChest/ChestDetection" to="TreasureChest/ChestDetection" method="_on_ChestDetection_body_entered"]
[connection signal="body_entered" from="TreasureChest/PortalDarkForest" to="YSort/Player/Camera2D" method="_on_PortalDarkForest_body_entered"]