|
|
|
|
@ -143,19 +143,21 @@ asteroidsContainer = NodePath("../Asteroids")
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_uovst")
|
|
|
|
|
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "labelLevel", "labelLifes", "labelNextLevel", "labelPoints", "labelGameOver", "restartButton", "reachedPointsLabel", "healthBar", "vBoxPause")]
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "rtlLevel", "rtlLifes", "rtlNextLevel", "rtlPoints", "labelGameOver", "buttonRestart", "rtlReachedPoints", "healthBar", "vBoxPause", "buttonResume", "buttonPauseRestart")]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_xl7yx")
|
|
|
|
|
rtlAsteroids = NodePath("VBoxLabels/rtlAsteroids")
|
|
|
|
|
labelLevel = NodePath("VBoxLabels/LabelLevel")
|
|
|
|
|
labelLifes = NodePath("VBoxLabels/LabelLives")
|
|
|
|
|
labelNextLevel = NodePath("VBoxLabels/LabelNextLevel")
|
|
|
|
|
labelPoints = NodePath("VBoxLabels/LabelPoints")
|
|
|
|
|
rtlLevel = NodePath("VBoxLabels/trlLevel")
|
|
|
|
|
rtlLifes = NodePath("VBoxLabels/rtlLifes")
|
|
|
|
|
rtlNextLevel = NodePath("VBoxLabels/rtlNextLevel")
|
|
|
|
|
rtlPoints = NodePath("VBoxLabels/rtlPoints")
|
|
|
|
|
labelGameOver = NodePath("VBoxGameOver/LabelGameOver")
|
|
|
|
|
restartButton = NodePath("VBoxGameOver/RestartButton")
|
|
|
|
|
reachedPointsLabel = NodePath("VBoxGameOver/ReachedPointsLabel")
|
|
|
|
|
buttonRestart = NodePath("VBoxGameOver/RestartButton")
|
|
|
|
|
rtlReachedPoints = NodePath("VBoxGameOver/rtlReachedPoints")
|
|
|
|
|
healthBar = NodePath("VBoxHealth/HealthBar")
|
|
|
|
|
vBoxPause = NodePath("VBoxPause")
|
|
|
|
|
buttonResume = NodePath("VBoxPause/ButtonResume")
|
|
|
|
|
buttonPauseRestart = NodePath("VBoxPause/PauseRestartButton")
|
|
|
|
|
|
|
|
|
|
[node name="VBoxLabels" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
anchors_preset = 2
|
|
|
|
|
@ -173,28 +175,28 @@ text = "Asteroids: 0"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
[node name="trlLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
text = "Level: 1"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelLives" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
[node name="rtlLifes" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
text = "Lives: 3"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelNextLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
[node name="rtlNextLevel" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
text = "Next Level: 10"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelPoints" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
[node name="rtlPoints" type="RichTextLabel" parent="Ui/VBoxLabels"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
text = "Points: 0"
|
|
|
|
|
@ -222,7 +224,7 @@ label_settings = SubResource("LabelSettings_dqsad")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="ReachedPointsLabel" type="RichTextLabel" parent="Ui/VBoxGameOver"]
|
|
|
|
|
[node name="rtlReachedPoints" type="RichTextLabel" parent="Ui/VBoxGameOver"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
bbcode_enabled = true
|
|
|
|
|
@ -232,6 +234,7 @@ text = "[center]You have reached level 1 and 0 points![/center]"
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
text = "Restart"
|
|
|
|
|
|
|
|
|
|
@ -240,8 +243,6 @@ offset_left = 195.5
|
|
|
|
|
offset_top = 647.0
|
|
|
|
|
offset_right = 603.5
|
|
|
|
|
offset_bottom = 788.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="LabelPause" type="Label" parent="Ui/VBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
@ -254,14 +255,23 @@ vertical_alignment = 1
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
text = "Resume
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="PauseRestartButton" type="Button" parent="Ui/VBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
text = "Restart"
|
|
|
|
|
|
|
|
|
|
[node name="VBoxHealth" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
offset_top = 1274.0
|
|
|
|
|
offset_right = 152.0
|
|
|
|
|
offset_bottom = 1278.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
offset_left = 330.0
|
|
|
|
|
offset_top = 14.0
|
|
|
|
|
offset_right = 482.0
|
|
|
|
|
offset_bottom = 18.0
|
|
|
|
|
|
|
|
|
|
[node name="HealthBar" type="ProgressBar" parent="Ui/VBoxHealth"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|