Dialogue editor created for "Night in the Woods" (and other projects) by @NoelFB and @infinite_ammo with contributions from @seiyria and @beeglebug. It is heavily inspired by and based on the amazing Twine software: http://twinery.org/
Games built with Unity and Yarn.
Lost Constellation: http://finji.itch.io/lost-constellation
Knights and Bikes: https://www.kickstarter.com/projects/foamsword/knights-and-bikes
Sunflower (Demo): http://infiniteammo.com/Sunflower
Far From Noise by George Batchelor (@georgebatch): http://www.georgebatchelor.com/#!far-from-noise/c1ceg
Test drive your Yarn files here ^
How to Connect Nodes
Node connections work similar to Twine.
Shortcut options are a new method of creating dialogue branches that does not require creating new nodes.
How to Import Twine Files
One way to import Twine files into Yarn is to export a "Twee" file from Twine. (txt format) Open this txt file in Yarn as you would any other file.
Note: This method of importing will not preserve node locations, just each node's title, body and tags.
How to Run Your Dialogue in Unity
You can find basic Yarn parsing and playback example code here:
You can find a more advanced Yarn interpreter here:
How to Run the Yarn Source as an App
Download http://nwjs.io/ for your platform and extract the contents.
Win64: Download the latest nwjs for Windows 64bit. Extract the content to wherever you like. Drag the yarn folder into nw.exe and it should run yarn! (if not ensure that the yarn folder has package.json in it). Alternitavely run nw.exe and navigate to C:/path_to_yarn/Yarn/app/index.html
MacOS: Place source code in a new folder named "app.nw" inside the extracted nwjs.app's "Contents/Resources/" folder. (to explore an app's folder structure, right click and select "Show Package Contents")
Yarn logo/icon created by @Mr_Alistair.