A tool for writing interactive dialogue in games!
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Dialogue editor created for "Night in the Woods" (and other projects) by @NoelFB, @blurymind and @infinite_ammo with contributions from @seiyria and @beeglebug. It is heavily inspired by and based on the amazing Twine software: http://twinery.org/
Grab Win64, Linux and MacOS electron builds at https://github.com/YarnSpinnerTool/YarnEditor/releases/latest
You can see planned features, vote for features or see how you can contribute at the roadmap here: https://trello.com/b/ZXhhOzDl/yarn-roadmap
There are a few game engines that have YarnEditor bundled with their IDE. That means that you can use it straight in those engines, without need to save files and open files and so on. It's directly integratedin their workflow!
The runtime is a library that allows your game engine to parse the files that yarn creates. There are a couple of popular ones that you can use. If you have created a runtime, you are working on one or want to get one included with your game engine, these can be of some use to you
YarnSpinner : A C# library for interactive dialogue in games! Ideal if you are using Unity3d or another C# game engine! https://github.com/YarnSpinnerTool/YarnSpinner
Win64, Linux and MacOS builds available at: https://github.com/YarnSpinnerTool/YarnEditor/releases/latest
Make sure you have nodejs installed. Then from the root folder ``` npm install
npm start ``` You can access it on your smartphone too if it is on the same wifi network
npm run build
you will find it in the /dist folder
First of all you need to have compiled the web app (see previous steps) ``` cd electron
npm start ```
npm run build-windows
npm run build-linux
Games built using Yarn.
A short hike: https://store.steampowered.com/app/1055540/AShortHike/
Night in the woods: https://store.steampowered.com/app/481510/Nightinthe_Woods/
Lost Constellation: http://finji.itch.io/lost-constellation
Knights and Bikes: https://store.steampowered.com/app/592480/KnightsAndBikes/
Far From Noise by George Batchelor (@georgebatch): https://store.steampowered.com/app/706130/FarfromNoise/
Test drive your Yarn files here ^
Node connections work similar to Twine. [[ask question|question]] leads to "question" node.
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.
You can find basic Yarn parsing and playback example code here:
You can find a more advanced Yarn interpreter here:
Yarn logo/icon created by @Mr_Alistair.