63 lines
2.2 KiB
Plaintext
63 lines
2.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dulkm3ah4tm0u"]
|
|
|
|
[ext_resource type="Script" uid="uid://b3d1p21sviww4" path="res://scripts/ui/death_screen.gd" id="1_eaoak"]
|
|
[ext_resource type="Texture2D" uid="uid://jix7wdn0isr3" path="res://sprites/ppc_icon.png" id="1_m30em"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_eaoak"]
|
|
bg_color = Color(0, 0, 0, 1)
|
|
|
|
[node name="DeathScreen" type="Control" node_paths=PackedStringArray("death_screen_root", "current_level_label", "lives_left_label")]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_eaoak")
|
|
death_screen_root = NodePath(".")
|
|
current_level_label = NodePath("PanelContainer/MarginContainer/VBoxContainer/LevelName")
|
|
lives_left_label = NodePath("PanelContainer/MarginContainer/VBoxContainer/HBoxContainer/LivesLeft")
|
|
|
|
[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_eaoak")
|
|
|
|
[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="LevelName" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "LEVEL NAME - 1"
|
|
uppercase = true
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer/MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 4
|
|
texture = ExtResource("1_m30em")
|
|
|
|
[node name="LivesLeft" type="Label" parent="PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
text = "x 3"
|
|
uppercase = true
|