83 lines
2.3 KiB
Plaintext
83 lines
2.3 KiB
Plaintext
[gd_scene load_steps=3 format=3]
|
|
|
|
[ext_resource type="Script" path="res://scripts/presentation/death_panel.gd" id="1_death"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBox_death_panel"]
|
|
bg_color = Color(0.08, 0.015, 0.02, 0.98)
|
|
border_width_left = 4
|
|
border_width_top = 4
|
|
border_width_right = 4
|
|
border_width_bottom = 4
|
|
border_color = Color(0.9, 0.2, 0.18, 0.98)
|
|
corner_radius_top_left = 8
|
|
corner_radius_top_right = 8
|
|
corner_radius_bottom_right = 8
|
|
corner_radius_bottom_left = 8
|
|
content_margin_left = 32.0
|
|
content_margin_top = 22.0
|
|
content_margin_right = 32.0
|
|
content_margin_bottom = 22.0
|
|
|
|
[node name="DeathPanel" type="PanelContainer"]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -340.0
|
|
offset_top = -230.0
|
|
offset_right = 340.0
|
|
offset_bottom = 230.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBox_death_panel")
|
|
script = ExtResource("1_death")
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 16
|
|
|
|
[node name="Title" type="Label" parent="Layout"]
|
|
custom_minimum_size = Vector2(0, 42)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 0.38, 0.34, 1)
|
|
theme_override_font_sizes/font_size = 27
|
|
text = "VOUS ÊTES MORT"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Body" type="RichTextLabel" parent="Layout"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme_override_colors/default_color = Color(1, 0.91, 0.9, 1)
|
|
theme_override_font_sizes/normal_font_size = 18
|
|
|
|
[node name="Hint" type="Label" parent="Layout"]
|
|
custom_minimum_size = Vector2(0, 24)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(1, 0.78, 0.72, 1)
|
|
theme_override_font_sizes/font_size = 15
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Actions" type="HBoxContainer" parent="Layout"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
alignment = 1
|
|
|
|
[node name="LoadButton" type="Button" parent="Layout/Actions"]
|
|
custom_minimum_size = Vector2(170, 42)
|
|
layout_mode = 2
|
|
text = "CHARGER"
|
|
|
|
[node name="NewRunButton" type="Button" parent="Layout/Actions"]
|
|
custom_minimum_size = Vector2(190, 42)
|
|
layout_mode = 2
|
|
text = "NOUVELLE PARTIE"
|
|
|
|
[node name="MenuButton" type="Button" parent="Layout/Actions"]
|
|
custom_minimum_size = Vector2(150, 42)
|
|
layout_mode = 2
|
|
text = "MENU PRINCIPAL"
|