39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
[gd_scene load_steps=3 format=3 uid="uid://bqg3ohs1gwofr"]
|
|
|
|
[ext_resource type="Script" uid="uid://b8brifkk4knh8" path="res://Scripts/game_over_menu.gd" id="1_arass"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_7upku"]
|
|
font_size = 32
|
|
|
|
[node name="GameOverMenu" type="VBoxContainer" groups=["GameOverMenu"]]
|
|
visible = false
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_arass")
|
|
|
|
[node name="FinalScore" type="Label" parent="."]
|
|
layout_mode = 2
|
|
text = "Final Score
|
|
0"
|
|
label_settings = SubResource("LabelSettings_7upku")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="Restart" type="Button" parent="."]
|
|
layout_mode = 2
|
|
text = "Restart"
|
|
|
|
[node name="MainMenu" type="Button" parent="."]
|
|
layout_mode = 2
|
|
text = "Main Menu"
|
|
|
|
[connection signal="visibility_changed" from="." to="." method="update_score"]
|
|
[connection signal="pressed" from="Restart" to="." method="restart"]
|
|
[connection signal="pressed" from="MainMenu" to="." method="back"]
|