How nathanhoad/godot_dialogue_manager works
Dialogue Manager is a Godot addon for authoring and running stateless branching dialogue. A game starts a dialogue through an actionable node or the manager API; a balloon requests dialogue lines, presents text and responses, and requests the next line. The tree also shows a substantial editor, compiler, translation, debugging, and game-state surface. The README establishes the product capabilities, while the sampled runtime excerpts confirm the actionable, balloon, line-display, response, and state-context connections; unsampled subsystem wiring is left unspecified.
Main entry points: dialogue_manager.gd Dialogue manager · example_balloon Example balloon · dialogue_resource.gd Dialogue resource · views Dialogue editor
Components 20
Dialogue runtime
- Actionable nodes
addons/dialogue_manager/nodes/actionable - Dialogue manager
addons/dialogue_manager/dialogue_manager.gd - Dialogue processor
addons/dialogue_manager/dialogue_processor.gd - Dialogue resource
addons/dialogue_manager/dialogue_resource.gd - Dialogue compiler
addons/dialogue_manager/compiler - Dialogue line
addons/dialogue_manager/dialogue_line.gd - Dialogue response
addons/dialogue_manager/dialogue_response.gd
Game presentation
- Example balloon
addons/dialogue_manager/example_balloon - Dialogue label
addons/dialogue_manager/nodes/dialogue_label - Responses menu
addons/dialogue_manager/nodes/responses_menu
Dialogue authoring
- Dialogue editor
addons/dialogue_manager/views - Editor plugin
addons/dialogue_manager/plugin.gd
State and localization
- Translation support
addons/dialogue_manager/utilities/translations.gd - Translation extraction
addons/dialogue_manager/editor_translation_parser_plugin.gd - State context
addons/dialogue_manager/nodes/context - Dialogue state
addons/dialogue_manager/utilities/builtins.gd - Dialogue debugger
addons/dialogue_manager/views/debugger_view.gd
Other components
- Game developer
- Player
- Godot game
Connections 19
- Game developer → Dialogue editor: authors dialogue
- Editor plugin → Dialogue editor: opens tools
- Dialogue editor → Dialogue resource: edits resource
- Dialogue resource → Dialogue compiler: compiles dialogue
- Actionable nodes → Dialogue manager: starts dialogue
- Example balloon → Dialogue manager: requests lines
- Dialogue manager → Dialogue processor: processes dialogue
- Dialogue processor → Dialogue resource: reads dialogue
- Dialogue manager → Dialogue line: returns line
- Example balloon → Dialogue label: sets line
- Example balloon → Responses menu: sets responses
- Responses menu → Dialogue response: selects response
- Player → Example balloon: advances dialogue
- State context → Dialogue manager: registers context
- Dialogue manager → Dialogue state: uses state
- Translation extraction → Translation support: extracts strings
- Dialogue manager → Translation support: translates text
- Dialogue manager → Dialogue debugger: reports runtime
- Godot game → Actionable nodes: triggers