|
|
|
@ -153,60 +153,62 @@ asteroidsContainer = NodePath("../Asteroids")
|
|
|
|
process_mode = 3
|
|
|
|
process_mode = 3
|
|
|
|
script = ExtResource("15_uovst")
|
|
|
|
script = ExtResource("15_uovst")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "rtlLevel", "rtlLifes", "rtlNextLevel", "rtlPoints", "labelGameOver", "buttonRestart", "rtlReachedPoints", "healthBar", "vBoxPause", "buttonResume", "buttonPauseRestart")]
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "rtlLevel", "rtlLifes", "rtlNextLevel", "rtlPoints", "vBoxGameOver", "lblGameOver", "buttonRestart", "lblReachedPoints", "healthBar", "vBoxPause", "buttonResume", "buttonPauseRestart")]
|
|
|
|
process_mode = 3
|
|
|
|
process_mode = 3
|
|
|
|
script = ExtResource("15_xl7yx")
|
|
|
|
script = ExtResource("15_xl7yx")
|
|
|
|
rtlAsteroids = NodePath("VBoxLabels/rtlAsteroids")
|
|
|
|
rtlAsteroids = NodePath("VBoxStats/rtlAsteroids")
|
|
|
|
rtlLevel = NodePath("VBoxLabels/trlLevel")
|
|
|
|
rtlLevel = NodePath("VBoxStats/trlLevel")
|
|
|
|
rtlLifes = NodePath("VBoxLabels/rtlLifes")
|
|
|
|
rtlLifes = NodePath("VBoxStats/rtlLifes")
|
|
|
|
rtlNextLevel = NodePath("VBoxLabels/rtlNextLevel")
|
|
|
|
rtlNextLevel = NodePath("VBoxStats/rtlNextLevel")
|
|
|
|
rtlPoints = NodePath("VBoxLabels/rtlPoints")
|
|
|
|
rtlPoints = NodePath("VBoxStats/rtlPoints")
|
|
|
|
labelGameOver = NodePath("VBoxGameOver/LabelGameOver")
|
|
|
|
vBoxGameOver = NodePath("VBoxGameOver")
|
|
|
|
|
|
|
|
lblGameOver = NodePath("VBoxGameOver/lblGameOver")
|
|
|
|
buttonRestart = NodePath("VBoxGameOver/RestartButton")
|
|
|
|
buttonRestart = NodePath("VBoxGameOver/RestartButton")
|
|
|
|
rtlReachedPoints = NodePath("")
|
|
|
|
lblReachedPoints = NodePath("VBoxGameOver/lblReachedPoints")
|
|
|
|
healthBar = NodePath("VBoxHealth/HealthBar")
|
|
|
|
healthBar = NodePath("VBoxHealth/HealthBar")
|
|
|
|
vBoxPause = NodePath("VBoxPause")
|
|
|
|
vBoxPause = NodePath("VBoxPause")
|
|
|
|
buttonResume = NodePath("VBoxPause/ButtonResume")
|
|
|
|
buttonResume = NodePath("VBoxPause/ButtonResume")
|
|
|
|
buttonPauseRestart = NodePath("VBoxPause/PauseRestartButton")
|
|
|
|
buttonPauseRestart = NodePath("VBoxPause/PauseRestartButton")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="VBoxLabels" type="VBoxContainer" parent="Ui"]
|
|
|
|
[node name="VBoxStats" type="VBoxContainer" parent="Ui"]
|
|
|
|
anchors_preset = 2
|
|
|
|
anchors_preset = 2
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
offset_top = 1138.0
|
|
|
|
offset_left = 8.0
|
|
|
|
offset_right = 152.0
|
|
|
|
offset_top = 1129.0
|
|
|
|
offset_bottom = 1278.0
|
|
|
|
offset_right = 160.0
|
|
|
|
|
|
|
|
offset_bottom = 1269.0
|
|
|
|
grow_vertical = 0
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
|
|
|
|
[node name="rtlAsteroids" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
[node name="rtlAsteroids" type="RichTextLabel" parent="Ui/VBoxStats"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "Asteroids: 0"
|
|
|
|
text = "Asteroids: 0"
|
|
|
|
scroll_active = false
|
|
|
|
scroll_active = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
|
|
[node name="trlLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
[node name="trlLevel" type="RichTextLabel" parent="Ui/VBoxStats"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "Level: 1"
|
|
|
|
text = "Level: 1"
|
|
|
|
scroll_active = false
|
|
|
|
scroll_active = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
|
|
[node name="rtlLifes" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
[node name="rtlLifes" type="RichTextLabel" parent="Ui/VBoxStats"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "Lives: 3"
|
|
|
|
text = "Lives: 3"
|
|
|
|
scroll_active = false
|
|
|
|
scroll_active = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
|
|
[node name="rtlNextLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
[node name="rtlNextLevel" type="RichTextLabel" parent="Ui/VBoxStats"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "Next Level: 10"
|
|
|
|
text = "Next Level: 10"
|
|
|
|
scroll_active = false
|
|
|
|
scroll_active = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
|
|
[node name="rtlPoints" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
[node name="rtlPoints" type="RichTextLabel" parent="Ui/VBoxStats"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_vertical = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
text = "Points: 0"
|
|
|
|
text = "Points: 0"
|
|
|
|
@ -214,7 +216,6 @@ scroll_active = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
|
|
[node name="VBoxGameOver" type="VBoxContainer" parent="Ui"]
|
|
|
|
[node name="VBoxGameOver" type="VBoxContainer" parent="Ui"]
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
anchors_preset = 8
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
@ -227,7 +228,7 @@ offset_bottom = 749.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
|
|
[node name="LabelGameOver" type="Label" parent="Ui/VBoxGameOver"]
|
|
|
|
[node name="lblGameOver" type="Label" parent="Ui/VBoxGameOver"]
|
|
|
|
layout_mode = 2
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Game Over"
|
|
|
|
text = "Game Over"
|
|
|
|
label_settings = SubResource("LabelSettings_dqsad")
|
|
|
|
label_settings = SubResource("LabelSettings_dqsad")
|
|
|
|
@ -253,6 +254,7 @@ text = "Restart"
|
|
|
|
icon = ExtResource("17_1t6sc")
|
|
|
|
icon = ExtResource("17_1t6sc")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="VBoxPause" type="VBoxContainer" parent="Ui"]
|
|
|
|
[node name="VBoxPause" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
anchors_preset = 8
|
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
|