Nodes
Nodes are containers that hold story content. Think of nodes like pages in a book - each one contains a section of the story.
Basic Node Structure:
title: NodeName
---
Your dialogue goes here.
===
Steps to Create a Node:
- Write
title:followed by a unique name for the node - Press Enter and type three dashes
--- - Press Enter and write your dialogue content
- Press Enter and type three equals signs
===
warning
Tip: The first node in your file automatically plays first - name it something like "Start" for clarity.
Every Yarn file needs at least one node. The app uses node names to jump between different story sections.