CR 16: Permadeath raus — Tod führt auf den letzten Spielstand, ESC-Save
- is_permadeath_enabled komplett ausgebaut (GameState, Save-Feld, Hauptmenü-Toggle, Debug-Overlay-Zeile) - SaveSystem.reload_last_save(): lädt Spielstand + gespeicherte Szene; ohne Spielstand startet der Lauf frisch am Viadukt — verdrahtet an Viadukt-KillZone, Tag-9-QTE (Schleife raus, Weiche bleibt über den Tages-Replay erhalten) und Smàladhs Dreschen-Prüfung - Gauntlet-Stürze behalten Checkpoint-/Ernstlauf-Respawn, Jacks Niederlage ihren Fail-Pfad (Ausgänge bleiben spielrelevant) - Neues ESC-Pausenmenü in player.tscn: Weiterspielen, Speichern mit „Gespeichert."-Feedback, Hauptmenü, Beenden; exklusiv zum Lexicon - DialogueSystem: _wait_for_line übersteht Szenenwechsel mitten in der Zeile (is_instance_valid-Guard) - Buchführung: CR 16 nach CHANGEREQUESTS_DONE, ROADMAP-Status nachgezogen Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
f18e6d3a4d
commit
a38398c3ec
37 changed files with 829 additions and 203 deletions
|
|
@ -52,11 +52,6 @@ custom_minimum_size = Vector2(260, 48)
|
|||
layout_mode = 2
|
||||
text = "Fortsetzen"
|
||||
|
||||
[node name="PermadeathButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(260, 48)
|
||||
layout_mode = 2
|
||||
text = "Permadeath: AN"
|
||||
|
||||
[node name="ExplicitButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
||||
custom_minimum_size = Vector2(260, 48)
|
||||
layout_mode = 2
|
||||
|
|
|
|||
75
scenes/ui/pause_menu.tscn
Normal file
75
scenes/ui/pause_menu.tscn
Normal file
|
|
@ -0,0 +1,75 @@
|
|||
[gd_scene load_steps=3 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/ui/pause_menu.gd" id="1_pause"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_panel"]
|
||||
content_margin_left = 16.0
|
||||
content_margin_top = 14.0
|
||||
content_margin_right = 16.0
|
||||
content_margin_bottom = 14.0
|
||||
bg_color = Color(0.1, 0.1, 0.12, 0.94)
|
||||
corner_radius_top_left = 6
|
||||
corner_radius_top_right = 6
|
||||
corner_radius_bottom_right = 6
|
||||
corner_radius_bottom_left = 6
|
||||
|
||||
[node name="PauseMenu" type="CanvasLayer"]
|
||||
layer = 6
|
||||
script = ExtResource("1_pause")
|
||||
|
||||
[node name="Root" type="Control" parent="."]
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
mouse_filter = 2
|
||||
|
||||
[node name="Panel" type="PanelContainer" parent="Root"]
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -170.0
|
||||
offset_top = -160.0
|
||||
offset_right = 170.0
|
||||
offset_bottom = 160.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_panel")
|
||||
|
||||
[node name="Margin" type="MarginContainer" parent="Root/Panel"]
|
||||
theme_override_constants/margin_left = 12
|
||||
theme_override_constants/margin_top = 8
|
||||
theme_override_constants/margin_right = 12
|
||||
theme_override_constants/margin_bottom = 8
|
||||
|
||||
[node name="Content" type="VBoxContainer" parent="Root/Panel/Margin"]
|
||||
theme_override_constants/separation = 10
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_font_sizes/font_size = 24
|
||||
text = "Pause"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ResumeButton" type="Button" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
text = "Weiterspielen"
|
||||
|
||||
[node name="SaveButton" type="Button" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
text = "Speichern"
|
||||
|
||||
[node name="MenuButton" type="Button" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
text = "Zum Hauptmenü"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="Root/Panel/Margin/Content"]
|
||||
custom_minimum_size = Vector2(0, 44)
|
||||
text = "Spiel beenden"
|
||||
|
||||
[node name="FeedbackLabel" type="Label" parent="Root/Panel/Margin/Content"]
|
||||
theme_override_colors/font_color = Color(0.7, 0.9, 0.6, 1)
|
||||
theme_override_font_sizes/font_size = 16
|
||||
text = ""
|
||||
horizontal_alignment = 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue