|
@@ -1,9 +1,10 @@
|
|
-[gd_scene load_steps=8 format=2]
|
|
+[gd_scene load_steps=9 format=2]
|
|
|
|
|
|
[ext_resource path="res://component/ui/hud/HUD.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://component/ui/hud/HUD.tscn" type="PackedScene" id=1]
|
|
[ext_resource path="res://run/HouseInAForestLoop.ogg" type="AudioStream" id=2]
|
|
[ext_resource path="res://run/HouseInAForestLoop.ogg" type="AudioStream" id=2]
|
|
[ext_resource path="res://component/ui/background/Background.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://component/ui/background/Background.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://component/entity/player/Player.tscn" type="PackedScene" id=4]
|
|
[ext_resource path="res://component/entity/player/Player.tscn" type="PackedScene" id=4]
|
|
|
|
+[ext_resource path="res://run/Freezer.gd" type="Script" id=5]
|
|
[ext_resource path="res://effect/loose/gameover.wav" type="AudioStream" id=6]
|
|
[ext_resource path="res://effect/loose/gameover.wav" type="AudioStream" id=6]
|
|
[ext_resource path="res://run/Main.gd" type="Script" id=7]
|
|
[ext_resource path="res://run/Main.gd" type="Script" id=7]
|
|
[ext_resource path="res://component/entity/spawner/MobSpawner.tscn" type="PackedScene" id=8]
|
|
[ext_resource path="res://component/entity/spawner/MobSpawner.tscn" type="PackedScene" id=8]
|
|
@@ -41,8 +42,14 @@ stream = ExtResource( 2 )
|
|
[node name="DeathSound" type="AudioStreamPlayer" parent="Main"]
|
|
[node name="DeathSound" type="AudioStreamPlayer" parent="Main"]
|
|
stream = ExtResource( 6 )
|
|
stream = ExtResource( 6 )
|
|
|
|
|
|
|
|
+[node name="Freezer" type="Node" parent="."]
|
|
|
|
+pause_mode = 2
|
|
|
|
+script = ExtResource( 5 )
|
|
|
|
+
|
|
[connection signal="game_over" from="Main" to="Main/MobSpawner" method="_on_Main_game_over"]
|
|
[connection signal="game_over" from="Main" to="Main/MobSpawner" method="_on_Main_game_over"]
|
|
|
|
+[connection signal="game_over" from="Main" to="Freezer" method="_on_Main_game_over"]
|
|
[connection signal="game_started" from="Main" to="Main/MobSpawner" method="_on_Main_game_started"]
|
|
[connection signal="game_started" from="Main" to="Main/MobSpawner" method="_on_Main_game_started"]
|
|
|
|
+[connection signal="game_started" from="Main" to="Freezer" method="_on_Main_game_started"]
|
|
[connection signal="timeout" from="Main/ScoreTimer" to="Main" method="_on_ScoreTimer_timeout"]
|
|
[connection signal="timeout" from="Main/ScoreTimer" to="Main" method="_on_ScoreTimer_timeout"]
|
|
[connection signal="timeout" from="Main/StartTimer" to="Main" method="_on_StartTimer_timeout"]
|
|
[connection signal="timeout" from="Main/StartTimer" to="Main" method="_on_StartTimer_timeout"]
|
|
[connection signal="timeout" from="Main/StartTimer" to="Main/Player" method="spawn"]
|
|
[connection signal="timeout" from="Main/StartTimer" to="Main/Player" method="spawn"]
|