Unity parsing and execution code for Yarn dialogue files. Used in Night in the Woods (http://nightinthewoods.com) and other games.
WARNING: There is a new Yarn parser coming soon. It will be way cooler than this one. \:D/
Get the Yarn dialogue editor here: http://github.com/infiniteammoinc/yarn
Games built with Unity and Yarn.
Lost Constellation: http://finji.itch.io/lost-constellation
Sunflower (Demo): http://infiniteammo.com/Sunflower
Unnamed by George Batcher (@georgebatch)
YarnTest: http://infiniteammo.com/YarnTest/
Contains the main code for parsing and running files. You should leave this alone for the most part.
Contains the game-specific code. This is the file you'll want to customize to integrate the dialogue system into your game.
Used for storing variables in the dialogue system. Useful for saving/loading dialogue system state.
Should also be able to parse Twine files? Maybe? It used to! Note: doesn't support all twine features/functions
Contact: hello@infiniteammo.com or @infinite_ammo on twitter for help.
I'm also available for short term contract work to help you fully integrate the system into your game.
Dialogue parsing by Alec Holowka - http://infiniteammo.com
SimpleJSON written by Bunny83 - http://wiki.unity3d.com/index.php/SimpleJSON
If you end up using the system in your game, we'd appreciate it if you could add the Yarn logo somewhere in your start up and credits screen.
Yarn logo/icon created by @Mr_Alistair.
- add support for parsing Yarn XML files