The_Dark_Side_of_Earth/death_screen/death_screen.tscn

105 lines
3.7 KiB
Text
Raw Normal View History

2025-09-16 23:37:45 +02:00
[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"]
2025-09-16 19:34:30 +02:00
[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
2025-09-16 23:37:45 +02:00
[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
2025-09-16 19:34:30 +02:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2025-09-16 23:37:45 +02:00
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
2025-09-16 19:34:30 +02:00
theme_override_constants/margin_left = 50
theme_override_constants/margin_top = 50
theme_override_constants/margin_right = 50
theme_override_constants/margin_bottom = 50
2025-09-16 23:37:45 +02:00
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer"]
2025-09-16 19:34:30 +02:00
custom_minimum_size = Vector2(700, 200)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0
theme_override_styles/panel = SubResource("StyleBoxFlat_aam3l")
2025-09-16 23:37:45 +02:00
[node name="RichTextLabel" type="RichTextLabel" parent="MarginContainer/PanelContainer"]
2025-09-16 19:34:30 +02:00
layout_mode = 2
2025-09-16 23:37:45 +02:00
theme = ExtResource("1_nk1bp")
2025-09-16 19:34:30 +02:00
text = "YOU DIED"
horizontal_alignment = 1
vertical_alignment = 1
2025-09-16 23:37:45 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
2025-09-16 19:34:30 +02:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
2025-09-16 23:37:45 +02:00
theme = ExtResource("2_03nxu")
2025-09-16 19:34:30 +02:00
2025-09-16 23:37:45 +02:00
[node name="PanelContainer" type="PanelContainer" parent="MarginContainer/VBoxContainer"]
2025-09-16 19:34:30 +02:00
layout_mode = 2
2025-09-16 23:37:45 +02:00
theme_override_styles/panel = SubResource("StyleBoxFlat_3y8sy")
2025-09-16 19:34:30 +02:00
2025-09-16 23:37:45 +02:00
[node name="Button_Retry" type="Button" parent="MarginContainer/VBoxContainer/PanelContainer"]
custom_minimum_size = Vector2(400, 100)
2025-09-16 19:34:30 +02:00
layout_mode = 2
2025-09-16 23:37:45 +02:00
theme_type_variation = &"FlatButton"
text = "Play Again"
2025-09-16 19:34:30 +02:00
2025-09-16 23:37:45 +02:00
[node name="PanelContainer2" type="PanelContainer" parent="MarginContainer/VBoxContainer"]
2025-09-16 19:34:30 +02:00
layout_mode = 2
2025-09-16 23:37:45 +02:00
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"]