[gd_scene load_steps=3 format=3 uid="uid://wmw6gaisyrvx"] [ext_resource type="Script" uid="uid://bkd7o2u4psu4p" path="res://scripts/ui/game_over_screen.gd" id="1_v1o0m"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mtg1b"] bg_color = Color(0, 0, 0, 1) [node name="GameOverScreen" type="Control" node_paths=PackedStringArray("game_over_screen", "restart_button", "main_menu_button")] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_v1o0m") game_over_screen = NodePath(".") restart_button = NodePath("PanelContainer/MarginContainer/VBoxContainer/RestartLevelButton") main_menu_button = NodePath("PanelContainer/MarginContainer/VBoxContainer/MenuButton") [node name="PanelContainer" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_mtg1b") [node name="MarginContainer" type="MarginContainer" parent="PanelContainer"] layout_mode = 2 theme_override_constants/margin_left = 16 theme_override_constants/margin_top = 32 theme_override_constants/margin_right = 16 theme_override_constants/margin_bottom = 16 [node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer/MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 theme_override_constants/separation = 16 [node name="Label" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "GAME_OVER" horizontal_alignment = 1 uppercase = true [node name="Control" type="Control" parent="PanelContainer/MarginContainer/VBoxContainer"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 [node name="RestartLevelButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "RESTART_LEVEL_BUTTON" flat = true [node name="MenuButton" type="Button" parent="PanelContainer/MarginContainer/VBoxContainer"] layout_mode = 2 text = "GO_TO_MENU_BUTTON" flat = true