CRs: Umbenennung raus, Dialog-Maus + Abbruch-Hinweis, Viadukt 4x, Wren laeuft
- Charakter-Anlage entfernt: Neues Spiel fuehrt direkt aufs Viadukt, player_name zurueckgebaut (Anzeigename aus der speakers-Map, fix Tyrveil) - Dialog-Box: Hinweis X/Esc - Gespraech beenden (bei can_abort:false ausgeblendet); Maus wird im Dialog freigegeben und danach wieder eingefangen, Antwort-Buttons damit klickbar - Viadukt von ~55 m auf ~220 m: Gelaender-Steg, zwei versetzte Sprungluecken, Kletterstelle, 32-m-Wandgang, 36-m-gelaenderloser Zickzack-Steg, Rastplattform, Doppel-Kletterpartie mit Absprung, Insel-Spruenge, breite Wren-Passage; acht Checkpoints - Wren laeuft das Viadukt entlang (stoppt zoegernd an der kippenden Platte), Straucheln loest beim Einholen aus (3,5 m), Ausloese-Zone weg - Headless verifiziert; zwei Maus-Capture-Checks schlagen nur headless fehl (Capture ist ohne Display ein No-op, isoliert nachgewiesen) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
3cdf5f6ac5
commit
2ee3c3f782
12 changed files with 471 additions and 286 deletions
|
|
@ -18,6 +18,7 @@ const ABORT_INDEX := -1
|
|||
@onready var _speaker_label: Label = $Root/Panel/Margin/Content/SpeakerLabel
|
||||
@onready var _line_label: Label = $Root/Panel/Margin/Content/LineLabel
|
||||
@onready var _options_box: VBoxContainer = $Root/Panel/Margin/Content/OptionsBox
|
||||
@onready var _abort_hint: Label = $Root/Panel/Margin/Content/AbortHint
|
||||
|
||||
|
||||
## Startet unsichtbar; sichtbar wird die Box über show_line().
|
||||
|
|
@ -26,11 +27,13 @@ func _ready() -> void:
|
|||
|
||||
|
||||
## Zeigt eine Dialog-Zeile mit Sprechernamen; eine noch offene
|
||||
## Antwortauswahl wird dabei geleert.
|
||||
## Antwortauswahl wird dabei geleert. Der Abbruch-Hinweis erscheint nur,
|
||||
## wenn der laufende Dialog abbrechbar ist.
|
||||
func show_line(speaker_name: String, text: String) -> void:
|
||||
_speaker_label.text = speaker_name
|
||||
_line_label.text = text
|
||||
_clear_options()
|
||||
_abort_hint.visible = DialogueSystem.is_abort_allowed
|
||||
visible = true
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue