Godot dialogue system

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot dialogue system is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. Expert patterns for branching dialogue systems including dialogue graphs (Resource-based), character portraits, player choices, conditional dialogue (flags/quests), typewriter effects, localization support, and voice acting integration. Use for narrative games, RPGs, or visual novels. Trigger keywor

How to use this skill

Skill file

Dialogue System

Data-driven dialogue routing — not beginner typewriter tutorials.

NEVER Do in Dialogue Systems


Decision Tree: Authoring Engine

| Authoring need | Engine | MANDATORY scripts | Do NOT Load |

|----------------|--------|-------------------|-------------|

| Designer-friendly .tres graphs in-repo | Resource Autoload graph | dialogue_resource.gd → dialogue_manager_singleton.gd → dialogue_ui_controller.gd → typebox_effect.gd | dialogue_engine.gd JSON path |

| External writers / spreadsheet → JSON | JSON graph engine | dialogue_engine.gd (+ optional dialogue_manager.gd) → UI + typebox | Resource Autoload stack |

| Visual node editor in-project | GraphEdit authoring | Keep runtime on Resource or JSON export; GraphEdit is editor-only tooling | Shipping GraphEdit as the runtime walker |

| Conditions / quest gates | Either | branching_condition_validator.gd | Embedding flag checks in UI buttons |

| Portraits / expressions | Either | dialogue_portrait_manager.gd | — |

| Localization keys | Either | localized_dialogue_resource.gd | Hardcoded language if trees |

| Quest / gameplay hooks from lines | Either | dialogue_event_bridge.gd | Side effects inside UI controller |

Default golden path: Resource Autoload → UI controller → typebox_effect. Pick one runtime engine; do not run Resource manager and JSON engine in parallel.

Available Scripts (single catalog)

Runtime (golden path)

Supporting

Alternate engines (load only if decision tree says so)

Typewriter Contract (skip-safe)

Use typebox_effect.gd: set full text, tween visible_ratio (or RichTextLabel visible_characters) from 0→1. On skip input: kill tween and snap visibility to complete. Do not spawn a Timer per character.

Elite Deltas

MANDATORY for GraphEdit tooling, TTS/lipsync, analytics, and moved inline manager/UI tutorials: elite-dialogue-patterns.md. Do NOT Load for Resource Autoload golden path only.

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.