mklingen 633ff5b98c update FNA binaries 7 tahun lalu
..
Properties 08d538294d Add yarnspinner library 7 tahun lalu
Analyser.cs 08d538294d Add yarnspinner library 7 tahun lalu
AntlrCompiler.cs 08d538294d Add yarnspinner library 7 tahun lalu
CONTRIBUTING.md 08d538294d Add yarnspinner library 7 tahun lalu
CONTRIBUTORS.md 08d538294d Add yarnspinner library 7 tahun lalu
Compiler.cs ef8972041e Implementing needed yarn variables 7 tahun lalu
Dialogue.cs 08d538294d Add yarnspinner library 7 tahun lalu
ErrorListener.cs 08d538294d Add yarnspinner library 7 tahun lalu
LICENSE.md 08d538294d Add yarnspinner library 7 tahun lalu
Lexer.cs 08d538294d Add yarnspinner library 7 tahun lalu
Library.cs 08d538294d Add yarnspinner library 7 tahun lalu
Loader.cs c94da8fe44 chatting with employees pretty well fleshed out now 7 tahun lalu
Parser.cs ef8972041e Implementing needed yarn variables 7 tahun lalu
Program.cs 633ff5b98c update FNA binaries 7 tahun lalu
README.md 08d538294d Add yarnspinner library 7 tahun lalu
Value.cs 6634ddcc5b fix deeply embedded bug in Yarn 7 tahun lalu
VirtualMachine.cs 38cea892f7 Prepared test convo 7 tahun lalu
YarnSpinner.csproj 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinner.csproj.orig 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerLexer.cs 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerLexer.g4 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerLexer.tokens 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParser.cs 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParser.g4 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParser.tokens 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParserBaseListener.cs 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParserBaseVisitor.cs 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParserListener.cs 08d538294d Add yarnspinner library 7 tahun lalu
YarnSpinnerParserVisitor.cs 08d538294d Add yarnspinner library 7 tahun lalu
packages.config 08d538294d Add yarnspinner library 7 tahun lalu

README.md

Yarn Spinner

Yarn Spinner logo

Yarn is a language that's designed to make it super easy to create interactive dialogue for games. Yarn's very similar in style to Twine, so if you already know that, you'll be right at home! If you don't, that's cool - Yarn's syntax is extremely minimal, and there's not much there to learn. The Yarn language is used in a number of cool games, including Night In The Woods and Knights and Bikes.

New! Join our narrative game development Slack! New! Continual integration API documentation now available

Yarn Spinner interprets the Yarn language, and is written in C#. Yarn Spinner is designed to be easy to add to Unity games, but it's also intended for use in other contexts as well.

Important: Yarn Spinner is still under development, and we haven't made our 1.0 release yet. It's probably fine to use right now, but there are a few bits and pieces that might change between now and first release.

Build Status

(Image from "Night in the Woods" by Scott Benson, Bethany Hockenberry and Alec Holowka. Used with permission.)

Quick Start - Documentation

License

Yarn Spinner is available under the MIT License. This means that you can use it in any commercial or noncommercial project. The only requirement is that you need to include attribution in your game's docs. A credit would be very, very nice, too, but isn't required. If you'd like to know more about what this license lets you do tldrlegal.com have a very nice write up about the MIT license that you might find useful.

Made by Secret Lab!

Yarn Spinner was originally created by Secret Lab, an Australian game dev studio. Come say hi! You can visit the Yarn Spinner page on the Secret Lab website for a little more info, and to donate to Yarn Spinner open source development at Secret Lab.

The awesome logo was made by the excellent Rex Smeal, and is under the Creative Commons Attribution-ShareAlike 4.0 International License.

Help Us Make Yarn Spinner!

Yarn Spinner needs your help to be as awesome as it can be! You don't have to be a coder to help out - we'd love to have your help in improving our documentation, in spreading the word, and in finding bugs.

If you want to contribute to Yarn Spinner (!!), go read our contributor's guide!