[gd_scene load_steps=2 format=3 uid="uid://death_screen"] [ext_resource type="Script" path="res://scripts/ui/death_screen.gd" id="1_death"] [node name="DeathScreen" type="CanvasLayer"] layer = 20 visible = false script = ExtResource("1_death") [node name="ColorRect" type="ColorRect" parent="."] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0, 0, 0, 0.7) [node name="Panel" type="PanelContainer" parent="."] anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -150.0 offset_top = -100.0 offset_right = 150.0 offset_bottom = 100.0 grow_horizontal = 2 grow_vertical = 2 [node name="VBoxContainer" type="VBoxContainer" parent="Panel"] layout_mode = 2 theme_override_constants/separation = 20 alignment = 1 [node name="Title" type="Label" parent="Panel/VBoxContainer"] layout_mode = 2 text = "YOU DIED" horizontal_alignment = 1 vertical_alignment = 1 [node name="Message" type="Label" parent="Panel/VBoxContainer"] layout_mode = 2 text = "Your inventory has been lost in the dungeon." horizontal_alignment = 1 autowrap_mode = 2 [node name="ReturnButton" type="Button" parent="Panel/VBoxContainer"] layout_mode = 2 text = "Return to Hub"