|
@@ -1,5 +1,6 @@
|
|
|
-[gd_scene load_steps=16 format=2]
|
|
|
+[gd_scene load_steps=17 format=2]
|
|
|
|
|
|
+[ext_resource path="res://component/ui/message_panel/MessagePanel.tscn" type="PackedScene" id=1]
|
|
|
[ext_resource path="res://component/entity/launcher/TargetLine.gd" type="Script" id=2]
|
|
|
[ext_resource path="res://component/entity/catcher/Catcher.gd" type="Script" id=3]
|
|
|
[ext_resource path="res://component/ui/LifeContainer.gd" type="Script" id=4]
|
|
@@ -113,42 +114,12 @@ __meta__ = {
|
|
|
"_edit_use_anchors_": false
|
|
|
}
|
|
|
|
|
|
-[node name="GameOverPanel" type="Panel" parent="UI"]
|
|
|
+[node name="GameOverPanel" parent="UI" instance=ExtResource( 1 )]
|
|
|
visible = false
|
|
|
-margin_left = 100.0
|
|
|
-margin_top = 175.0
|
|
|
-margin_right = 300.0
|
|
|
-margin_bottom = 225.0
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
-
|
|
|
-[node name="GameOver" type="Label" parent="UI/GameOverPanel"]
|
|
|
-margin_left = -100.0
|
|
|
-margin_top = -175.0
|
|
|
-margin_right = 300.0
|
|
|
-margin_bottom = 225.0
|
|
|
-text = "Game Over"
|
|
|
-align = 1
|
|
|
-valign = 1
|
|
|
-
|
|
|
-[node name="TutorialPanel" type="Panel" parent="UI"]
|
|
|
-margin_left = 100.0
|
|
|
-margin_top = 175.0
|
|
|
-margin_right = 300.0
|
|
|
-margin_bottom = 225.0
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+message = "Game Over!"
|
|
|
|
|
|
-[node name="TutorialLabel" type="Label" parent="UI/TutorialPanel"]
|
|
|
-margin_left = -100.0
|
|
|
-margin_top = -175.0
|
|
|
-margin_right = 300.0
|
|
|
-margin_bottom = 225.0
|
|
|
-text = "Click to shoot a ball !"
|
|
|
-align = 1
|
|
|
-valign = 1
|
|
|
+[node name="TutorialPanel" parent="UI" instance=ExtResource( 1 )]
|
|
|
+message = "Click to shoot a ball!"
|
|
|
|
|
|
[node name="ScoreCounter" parent="UI" instance=ExtResource( 6 )]
|
|
|
margin_left = 350.0
|