Explosion_der_Spiele/scenes/death_screen.tscn
copilot 1cc8aa9b9d Add village 3D wiring, voice lines, and 1.74 m world scale.
Houses ~8.5 m; chimps capped ~0.85 m with safer axis fitting. Large GLB/PBR packs stay local until Git LFS (Forgejo HTTP 413).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-15 12:02:57 +02:00

117 lines
2.6 KiB
Text

[gd_scene load_steps=3 format=3]
[ext_resource type="Script" path="res://scripts/levels/death_screen.gd" id="1"]
[ext_resource type="Texture2D" path="res://assets/sprites/placeholders/skull.png" id="2"]
[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
color = Color(0, 0, 0, 1)
[node name="Title" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -300.0
offset_top = 80.0
offset_right = 300.0
offset_bottom = 140.0
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
offset_left = -360.0
offset_top = 160.0
offset_right = 360.0
offset_bottom = 260.0
horizontal_alignment = 1
autowrap_mode = 3
text = "..."
[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
[node name="Skull" type="TextureRect" parent="."]
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 = -96.0
offset_top = -96.0
offset_right = 96.0
offset_bottom = 96.0
expand_mode = 1
stretch_mode = 5
texture = ExtResource("2")
[node name="ReviveButton" 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 = -160.0
offset_top = -200.0
offset_right = 160.0
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"
[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"]