|
@@ -1,4 +1,4 @@
|
|
|
-[gd_scene load_steps=9 format=2]
|
|
|
+[gd_scene load_steps=10 format=2]
|
|
|
|
|
|
[ext_resource path="res://component/ui/message_panel/MessagePanel.tscn" type="PackedScene" id=1]
|
|
|
[ext_resource path="res://component/entity/launcher/Launcher.tscn" type="PackedScene" id=2]
|
|
@@ -7,9 +7,11 @@
|
|
|
[ext_resource path="res://component/ui/UI.gd" type="Script" id=5]
|
|
|
[ext_resource path="res://component/ui/number_panel/NumberPanel.tscn" type="PackedScene" id=6]
|
|
|
[ext_resource path="res://component/entity/death/Death.tscn" type="PackedScene" id=7]
|
|
|
+[ext_resource path="res://main.gd" type="Script" id=8]
|
|
|
[ext_resource path="res://component/entity/border/Border.tscn" type="PackedScene" id=13]
|
|
|
|
|
|
[node name="Game" type="Node"]
|
|
|
+script = ExtResource( 8 )
|
|
|
|
|
|
[node name="Background" type="Panel" parent="."]
|
|
|
margin_right = 400.0
|
|
@@ -56,7 +58,11 @@ margin_top = 360.0
|
|
|
margin_right = 50.0
|
|
|
margin_bottom = 390.0
|
|
|
title = "Balls"
|
|
|
-[connection signal="ready" from="." to="UI/BallCounter" method="increase_counter"]
|
|
|
+[connection signal="start_new_game" from="." to="Grid" method="_on_Game_start_new_game"]
|
|
|
+[connection signal="start_new_game" from="." to="Launcher" method="_on_Game_start_new_game"]
|
|
|
+[connection signal="start_new_game" from="." to="UI/GameOverPanel" method="hide"]
|
|
|
+[connection signal="start_new_game" from="." to="UI/ScoreCounter" method="reset_counter"]
|
|
|
+[connection signal="start_new_game" from="." to="UI/BallCounter" method="reset_counter"]
|
|
|
[connection signal="gain_new_bullet" from="Launcher" to="UI/BallCounter" method="increase_counter"]
|
|
|
[connection signal="get_firing" from="Launcher" to="UI" method="_on_Launcher_get_firing"]
|
|
|
[connection signal="is_full" from="Launcher" to="Grid" method="_on_Launcher_is_full"]
|
|
@@ -65,4 +71,5 @@ title = "Balls"
|
|
|
[connection signal="kace_broken" from="Grid" to="Launcher" method="_on_Grid_kace_broken"]
|
|
|
[connection signal="kace_damaged" from="Grid" to="UI/ScoreCounter" method="increase_counter"]
|
|
|
[connection signal="game_lost" from="DeadLine" to="Launcher" method="_on_DeadLine_game_lost"]
|
|
|
+[connection signal="game_lost" from="DeadLine" to="." method="_on_game_lost"]
|
|
|
[connection signal="game_lost" from="DeadLine" to="UI" method="_on_DeadLine_game_lost"]
|