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=8 format=2]
[gd_scene load_steps=9 format=2]
[ext_resource path="res://Sprites/Assets/galaxy_background.png" type="Texture" id=1]
[ext_resource path="res://GUI/HUD.tscn" type="PackedScene" id=2]
@@ -7,6 +7,7 @@
[ext_resource path="res://Levels/Level 1.gd" type="Script" id=5]
[ext_resource path="res://Enemies/Dark Matter.tscn" type="PackedScene" id=6]
[ext_resource path="res://Levels/Interactables/Star.tscn" type="PackedScene" id=7]
[ext_resource path="res://Music/Level_1.mp3" type="AudioStream" id=8]
[node name="Space Level" type="Node2D"]
script = ExtResource( 5 )
@@ -73,6 +74,11 @@ mode = 1
build_mode = 1
polygon = PoolVector2Array( 0.762451, -22.0982, 427.859, -18.7308, 425.053, 245.609, -22.248, 248.976, -21.1256, -22.6594, -0.589813, -21.9661, -0.589806, 225.272, 400.359, 224.843, 399.969, -0.312477, 0.455406, -0.154987 )
[node name="BGM" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 8 )
volume_db = -7.0
autoplay = true
[connection signal="death" from="YSort/Enemies/Dark Matter" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter2" to="." method="_on_dark_matter_death"]
[connection signal="death" from="YSort/Enemies/Dark Matter3" to="." method="_on_dark_matter_death"]