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,9 +1,10 @@
[gd_scene load_steps=15 format=2]
[gd_scene load_steps=16 format=2]
[ext_resource path="res://Sprites/Assets/Black_Background.png" type="Texture" id=1]
[ext_resource path="res://GUI/Level Ending.gd" type="Script" id=2]
[ext_resource path="res://Resources/Ash.tres" type="DynamicFontData" id=3]
[ext_resource path="res://Sprites/Assets/Smol_P.png" type="Texture" id=4]
[ext_resource path="res://Music/Level_Complete.mp3" type="AudioStream" id=5]
[sub_resource type="DynamicFont" id=1]
font_data = ExtResource( 3 )
@@ -82,6 +83,7 @@ __meta__ = {
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
position = Vector2( 160, 120 )
frames = SubResource( 10 )
frame = 6
playing = true
[node name="Timer" type="Timer" parent="."]
@@ -89,4 +91,9 @@ wait_time = 4.0
one_shot = true
autostart = true
[node name="BGM" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
volume_db = -10.0
autoplay = true
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]