[gd_scene load_steps=6 format=3 uid="uid://dpdn2php3ydsv"] [ext_resource type="Script" uid="uid://cnulh0nwvoro3" path="res://death_screen/death_screen.gd" id="1_03nxu"] [ext_resource type="Theme" uid="uid://dwlus1hjwtch4" path="res://large_theme.tres" id="1_nk1bp"] [ext_resource type="Theme" uid="uid://bn4i5ordp2chs" path="res://small_theme.tres" id="2_03nxu"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_aam3l"] bg_color = Color(0.5671965, 0.085610785, 0.1369414, 1) border_width_left = 10 border_width_top = 10 border_width_right = 10 border_width_bottom = 10 border_color = Color(0, 0, 0, 1) border_blend = true corner_radius_top_left = 20 corner_radius_top_right = 20 corner_radius_bottom_right = 20 corner_radius_bottom_left = 20 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3y8sy"] bg_color = Color(0, 0, 0, 1) corner_radius_top_left = 20 corner_radius_top_right = 20 corner_radius_bottom_right = 20 corner_radius_bottom_left = 20 [node name="DeathScreen" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_03nxu") [node name="ColorRect" type="ColorRect" parent="."] z_index = -1 layout_mode = 0 offset_right = 1920.0 offset_bottom = 1080.0 color = Color(0, 0, 0, 0.48235294) [node name="MarginContainer" type="MarginContainer" parent="."] layout_mode = 0 offset_right = 1920.0 offset_bottom = 1080.0 theme_override_constants/margin_left = 50 theme_override_constants/margin_top = 50 theme_override_constants/margin_right = 50 theme_override_constants/margin_bottom = 50 [node name="PanelContainer" type="PanelContainer" parent="MarginContainer"] custom_minimum_size = Vector2(700, 200) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 0 theme_override_styles/panel = SubResource("StyleBoxFlat_aam3l") [node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/PanelContainer"] layout_mode = 2 theme = ExtResource("1_nk1bp") text = "YOU DIED" horizontal_alignment = 1 vertical_alignment = 1 [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 theme = ExtResource("2_03nxu") [node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_3y8sy") [node name="Button_Retry" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer"] custom_minimum_size = Vector2(400, 100) layout_mode = 2 theme_type_variation = &"FlatButton" text = "Play Again" [node name="PanelContainer2" type="PanelContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_3y8sy") [node name="Button_Main_Menu" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer2"] custom_minimum_size = Vector2(400, 100) layout_mode = 2 theme_type_variation = &"FlatButton" text = "Main Menu" [node name="PanelContainer3" type="PanelContainer" parent="MarginContainer/VBoxContainer"] layout_mode = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_3y8sy") [node name="Button_Quit" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer3"] custom_minimum_size = Vector2(400, 100) layout_mode = 2 theme_type_variation = &"FlatButton" text = "Quit Forever" [connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer/Button_Retry" to="." method="_on_button_retry_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer2/Button_Main_Menu" to="." method="_on_button_main_menu_pressed"] [connection signal="pressed" from="MarginContainer/VBoxContainer/PanelContainer3/Button_Quit" to="." method="_on_button_quit_pressed"]