2026-09-15 12:02:57 +02:00
|
|
|
[gd_scene load_steps=3 format=3]
|
2026-09-14 18:36:02 +02:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/levels/death_screen.gd" id="1"]
|
2026-09-15 12:02:57 +02:00
|
|
|
[ext_resource type="Texture2D" path="res://assets/sprites/placeholders/skull.png" id="2"]
|
2026-09-14 18:36:02 +02:00
|
|
|
|
|
|
|
|
[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")
|
|
|
|
|
|
|
|
|
|
[node name="Bg" type="ColorRect" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 15
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
2026-09-14 19:08:00 +02:00
|
|
|
color = Color(0, 0, 0, 1)
|
2026-09-14 18:36:02 +02:00
|
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 5
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
offset_left = -300.0
|
2026-09-14 19:08:00 +02:00
|
|
|
offset_top = 80.0
|
2026-09-14 18:36:02 +02:00
|
|
|
offset_right = 300.0
|
2026-09-14 19:08:00 +02:00
|
|
|
offset_bottom = 140.0
|
2026-09-14 18:36:02 +02:00
|
|
|
theme_override_font_sizes/font_size = 36
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
text = "DU BIST GESTORBEN"
|
|
|
|
|
|
|
|
|
|
[node name="Cause" type="Label" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 5
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_right = 0.5
|
2026-09-14 19:08:00 +02:00
|
|
|
offset_left = -360.0
|
|
|
|
|
offset_top = 160.0
|
|
|
|
|
offset_right = 360.0
|
|
|
|
|
offset_bottom = 260.0
|
2026-09-14 18:36:02 +02:00
|
|
|
horizontal_alignment = 1
|
2026-09-14 19:08:00 +02:00
|
|
|
autowrap_mode = 3
|
2026-09-14 18:36:02 +02:00
|
|
|
text = "..."
|
|
|
|
|
|
2026-09-14 19:08:00 +02:00
|
|
|
[node name="Hint" type="Label" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 5
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
offset_left = -360.0
|
|
|
|
|
offset_top = 280.0
|
|
|
|
|
offset_right = 360.0
|
|
|
|
|
offset_bottom = 360.0
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
autowrap_mode = 3
|
|
|
|
|
|
2026-09-15 12:02:57 +02:00
|
|
|
[node name="Skull" type="TextureRect" parent="."]
|
2026-09-14 18:36:02 +02:00
|
|
|
visible = false
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
2026-09-15 12:02:57 +02:00
|
|
|
offset_left = -96.0
|
|
|
|
|
offset_top = -96.0
|
|
|
|
|
offset_right = 96.0
|
|
|
|
|
offset_bottom = 96.0
|
|
|
|
|
expand_mode = 1
|
|
|
|
|
stretch_mode = 5
|
|
|
|
|
texture = ExtResource("2")
|
2026-09-14 18:36:02 +02:00
|
|
|
|
2026-09-14 19:08:00 +02:00
|
|
|
[node name="ReviveButton" type="Button" parent="."]
|
2026-09-14 18:36:02 +02:00
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -160.0
|
2026-09-14 19:08:00 +02:00
|
|
|
offset_top = -200.0
|
2026-09-14 18:36:02 +02:00
|
|
|
offset_right = 160.0
|
2026-09-14 19:08:00 +02:00
|
|
|
offset_bottom = -150.0
|
|
|
|
|
text = "Wiederbeleben"
|
|
|
|
|
|
|
|
|
|
[node name="NoButton" type="Button" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = -200.0
|
|
|
|
|
offset_top = -130.0
|
|
|
|
|
offset_right = -20.0
|
|
|
|
|
offset_bottom = -80.0
|
|
|
|
|
text = "Nein"
|
|
|
|
|
|
|
|
|
|
[node name="YesButton" type="Button" parent="."]
|
|
|
|
|
layout_mode = 1
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = -130.0
|
|
|
|
|
offset_right = 200.0
|
|
|
|
|
offset_bottom = -80.0
|
|
|
|
|
text = "Ja"
|
2026-09-14 18:36:02 +02:00
|
|
|
|
2026-09-14 19:08:00 +02:00
|
|
|
[connection signal="pressed" from="ReviveButton" to="." method="_on_revive_pressed"]
|
|
|
|
|
[connection signal="pressed" from="NoButton" to="." method="_on_no_pressed"]
|
|
|
|
|
[connection signal="pressed" from="YesButton" to="." method="_on_yes_pressed"]
|