Dialogue Tree Editor
local processingDialogue Tree Editor
What it is
A dialogue tree is a graph of lines (nodes) joined by player choices. Each choice can have a condition that decides whether it appears and an effect that changes variables such as gold or quest flags. This editor lets you drag nodes on a canvas, write conditions like gold >= 5 and not has_key, and see problems as you work.
When to use it
Use it to sketch quests and conversations, find soft locks before they reach a build, hand writers a visual tool, or generate a starting Yarn Spinner or Ink script that you refine in your engine. The playtest panel runs the conversation with live variables.
Gotchas & limits
Conditions and effects use a small safe expression language, not JavaScript: numbers, true/false, quoted text, comparisons, and/or/not, and assignments such as gold -= 5. Yarn and Ink exports follow each language syntax but are a starting point, so open them in your engine to confirm. Reachability checks assume every condition can be true; a choice gated by a variable nothing ever sets is not detected.