Talking-head dialogue: DialogueDirector, DialogueBox, conversations and speakers

Conversations saved in game/resources/dialogue/ play once at their night and
phase in a paper box with talking heads; example: the morning of day 2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-07 21:33:54 -04:00
parent bbd8012fff
commit 1d92f49d96
22 changed files with 1158 additions and 2 deletions

View file

@ -11,6 +11,7 @@ extends CanvasLayer
## F8: run from the editor, Godot stops the game on F8 (its Stop shortcut)
## N start the night early (only when GameConfig.allow_early_night is on)
## R after Game Over: retry the night; after the farmers return: new vacation
## F5 play this phase's talking-head conversations again (DialogueDirector)
## F6 end the current phase now
## F7 cycle game speed 1x / 5x / 20x
## F9 debug: scarecrow to 0 HP
@ -73,6 +74,9 @@ func _unhandled_input(event: InputEvent) -> void:
unlock_all()
KEY_N:
campaign.start_night_early()
KEY_F5:
if sim != null and sim.dialogue != null:
sim.dialogue.replay()
KEY_F6:
campaign.advance_phase()
KEY_F7: