godot-dialogue-system
БесплатноЗапускает вложенные скриптыНе проверенExpert patterns for branching dialogue systems including dialogue graphs (Resource-based), character portraits, player choices, conditional dialogue…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
Dialogue System
Data-driven dialogue routing — not beginner typewriter tutorials.
NEVER Do in Dialogue Systems
- NEVER hardcode dialogue text in GDScript — Store lines in Resources / JSON / CSV so localization works.
- NEVER show choices the player has not unlocked — Hide (or intentionally gray) gated options.
- NEVER use unvalidated loose strings for node transitions — Typos in
next_node_idsoft-lock mid-convo; assert / registry IDs. - NEVER force a typewriter without skip — Click/confirm must finish the line immediately.
- NEVER drive reveal with per-character
Timer/OS.delay_msec()— Usevisible_ratio/visible_characters+ Tween (see typebox_effect.gd). - NEVER store dialogue cursor state only in the UI node — Scene changes drop the player; keep progress in the manager Autoload / session object.
- NEVER
get_node()from NPCs into Dialogue UI — Start via manager signals (start_dialogue(res)). - NEVER invent regex for BBCode — Prefer RichTextLabel BBCode / custom effects.
- NEVER save/load inside a dialogue node Resource — Nodes are data; persistence belongs to SaveSystem.
- NEVER hardcode portrait paths in code — Assign textures on node Resources or a portrait database.
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)
- dialogue_resource.gd — conversation tree Resource
- dialogue_node_data.gd — single line / speaker / portrait metadata
- dialogue_option_data.gd — choice + conditions
- dialogue_manager_singleton.gd — MANDATORY Autoload walker + signals
- dialogue_ui_controller.gd — MANDATORY labels / choice buttons
- typebox_effect.gd — MANDATORY skip-safe Tween
visible_ratioreveal
Supporting
- dialogue_event_bridge.gd — fire gameplay events from nodes
- branching_condition_validator.gd — flag/stat gates
- localized_dialogue_resource.gd — translation keys
- dialogue_portrait_manager.gd — expression swaps
Alternate engines (load only if decision tree says so)
- dialogue_engine.gd — JSON graphs + BBCode
[trigger:]tags - dialogue_manager.gd — alternate data-driven walker
- dialogue_graph_editor.gd —
@toolGraphEdit auditor (editor-only) - dialogue_lipsync.gd — TTS boundary lipsync helper
- dialogue_stat_logger.gd — choice analytics Logger
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
- GraphEdit auditor: dialogue_graph_editor.gd (
@tool) — export to Resource/JSON for runtime. - Audio-driven lines: [dialogue_lipsync.gd](scripts/dialogue
Установить godot-dialogue-system в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-dialogue-system?
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 keywords: DialogueLine, DialogueChoice, DialogueGraph, dialogue_manager, typewriter_effect, branching_dialogue, dialogue_flags, localization, voice_acting.
Как установить скилл godot-dialogue-system?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-dialogue-system запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic