[gd_scene load_steps=5 format=3 uid="uid://bqg3ohs1gwofr"]

[ext_resource type="Script" uid="uid://b8brifkk4knh8" path="res://Scripts/game_over_menu.gd" id="1_arass"]
[ext_resource type="FontFile" uid="uid://cupgp2iqxdun5" path="res://Fonts/Kings-Regular.ttf" id="2_i22rp"]
[ext_resource type="Theme" uid="uid://swbdum41grig" path="res://default_theme.tres" id="3_dsdey"]

[sub_resource type="LabelSettings" id="LabelSettings_7upku"]
font = ExtResource("2_i22rp")
font_size = 32
font_color = Color(0, 0, 0, 1)

[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
theme = ExtResource("3_dsdey")
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"]
