This commit is contained in:
MarcEricMartel
2022-10-12 12:38:08 -04:00
parent 3c6b6ea26d
commit 71b1b79bb5
3 changed files with 20 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=2]
[gd_scene load_steps=18 format=2]
[ext_resource path="res://Textures/kenney_prototype_textures/red/texture_01.png" type="Texture" id=1]
[ext_resource path="res://Textures/kenney_prototype_textures/orange/texture_01.png" type="Texture" id=2]
@@ -8,6 +8,7 @@
[ext_resource path="res://AllSkyFree_Skyboxes/Epic_BlueSunset_EquiRect_flat.png" type="Texture" id=6]
[ext_resource path="res://Levels/Level02.gd" type="Script" id=7]
[ext_resource path="res://fonts/TorontoSubwayRegular.ttf" type="DynamicFontData" id=8]
[ext_resource path="res://Audio/DiJazz.ogg" type="AudioStream" id=9]
[sub_resource type="SpatialMaterial" id=1]
albedo_texture = ExtResource( 2 )
@@ -136,6 +137,12 @@ text = "You're Winner!"
[node name="End" type="Timer" parent="."]
wait_time = 3.0
[node name="Music" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 9 )
volume_db = -3.0
autoplay = true
bus = "Music"
[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]
[connection signal="dying" from="Enemy2" to="." method="_on_Enemy_dying"]
[connection signal="timeout" from="End" to="." method="_on_Win_timeout"]