[gd_scene load_steps=12 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] [ext_resource path="res://component/entity/catcher/Catcher.tscn" type="PackedScene" id=3] [ext_resource path="res://component/entity/brick/Grid.tscn" type="PackedScene" id=4] [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/ui/background/background_texture.png" type="Texture" id=9] [ext_resource path="res://component/ui/pause/PausePopup.gd" type="Script" id=10] [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="TextureRect" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 texture = ExtResource( 9 ) stretch_mode = 2 [node name="Border" parent="." instance=ExtResource( 13 )] [node name="Catcher" parent="." instance=ExtResource( 3 )] [node name="Launcher" parent="." instance=ExtResource( 2 )] [node name="Grid" parent="." instance=ExtResource( 4 )] [node name="DeadLine" parent="." instance=ExtResource( 7 )] [node name="UI" type="Control" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 script = ExtResource( 5 ) __meta__ = { "_edit_use_anchors_": false } [node name="GameOverPanel" parent="UI" instance=ExtResource( 1 )] visible = false message = "Game Over!" [node name="TutorialPanel" parent="UI" instance=ExtResource( 1 )] message = "Click to shoot a ball!" [node name="ScoreCounter" parent="UI" instance=ExtResource( 6 )] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -50.0 margin_top = -40.0 margin_right = -10.0 margin_bottom = -10.0 title = "Score" [node name="BallCounter" parent="UI" instance=ExtResource( 6 )] anchor_top = 1.0 anchor_bottom = 1.0 margin_left = 10.0 margin_top = -40.0 margin_right = 50.0 margin_bottom = -10.0 title = "Balls" [node name="PausePopup" type="Popup" parent="UI"] pause_mode = 2 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -100.0 margin_top = -25.0 margin_right = 100.0 margin_bottom = 25.0 script = ExtResource( 10 ) [node name="PauseMessage" parent="UI/PausePopup" instance=ExtResource( 1 )] message = "PAUSE" [connection signal="start_new_game" from="." to="Launcher" method="_on_Game_start_new_game"] [connection signal="start_new_game" from="." to="Grid" 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"] [connection signal="has_moved" from="Grid" to="Launcher" method="_on_Grid_has_moved"] [connection signal="has_moved" from="Grid" to="DeadLine" method="_on_Grid_has_moved"] [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="." method="_on_game_lost"] [connection signal="game_lost" from="DeadLine" to="Launcher" method="_on_DeadLine_game_lost"] [connection signal="game_lost" from="DeadLine" to="UI" method="_on_DeadLine_game_lost"] [connection signal="popup_hide" from="UI/PausePopup" to="UI/PausePopup" method="_on_self_popup_hide"]