Releases: YarnSpinnerTool/YarnSpinner
v0.9.8
Yarn Editor Window
Yarn Spinner now adds an editor window to Unity, which gives you tools for managing with your Yarn Scripts.
You can access the window by opening the Window menu and choosing Yarn Spinner, or by pressing Control-Shift-Y (Command-Shift-Y on Macs).
In this release, the Yarn Spinner editor window shows a list of all JSON files in your project, and shows you any parse errors that were encountered.
This window is brand new, and very much in beta. Please log issues if you have any problems.
Other changes:
- Added NodeComplete processing to DialogueRunner, and exposed NodeCompleteResult to clients. When the end of a dialogue node is reached, your
DialogueUIBehaviour
will receive theNodeComplete
method call. (pull request #31 - thanks to @thebeardphantom!) - Add a null check in Dialogue.Stop (fixes #29)
- Support colons in identifiers. (fixes #28)
v0.9.7.2
This is a quick bugfix release for 0.9.7, which was supposed to include a fix an issue caused by indenting an if
statement further than its endif
or else
. This release actually does that. Whoops.
All the other goodness that's in 0.9.7 is still there and valid. Go wild!
v0.9.7
Note: there's a bug in this release! Go get v0.9.7.2 instead!
- Source Packages Now Available: Starting with this build, source code packages are now available. If you prefer to work with the source code instead of a compiled DLL, grab the source code package attached to this release.
- Fix a bug that caused parse errors if an
if
statement'sendif
orelse
was less indented than the initialif
. - Added a command line flag to only do a parse stage, which is useful for testing.
- Correctly set the line number for
EndOfInput
tokens, making certain error messages more useful. - Parse errors will now show the filename and node that contained the error.
- The locations of labels in nodes are now cached.
- Attempting to load the same node twice should now fail.
- Better automated testing.
v0.9.6
- Update example project's Unity version from 5.3.2f1 to 5.3.3f1
- New scripts to automate the creation of .unitypackage files.
- Compilation now happens when files are loaded. The
Compile()
method inDialogue
is now obsolete. - The string table now stores keys as strings, not ints. This is to help with localisation later.
- Shuffle options better. In particular, pairs of options should now shuffle properly. Fixes #22.
- No longer tries to show options when no options have been added [fixes #21].
- Commands can now begin with words that are similar to keywords like 'to', 'and', 'null', etc (fixes #20)
- Nodes tagged 'rawText' can have their source code accessed via the
Dialogue
class'sGetTextForNode()
[closes #18] - Add a way to query the currently running node. Closes #19
- Attempting to continue a Dialogue that is waiting for an option to be selected now interrupts all execution.
[[NodeName]]
now immediately jumps to a node, rather than using the 'options' system.- Handle the case of starting with a nonexistent node better.
v0.9.5
- The raw text of commands are now sent to the client, if they're not interpreted as function calls. Previously, they were split up by the tokeniser, and then joined back together with spaces; however, this breaks stuff like
<<doSomething +1>>
, which was delivered to the client as "doSomething + 1
" (note the extra space). - The
<<shuffleNextOptions>>
command will cause the next set of options to be shuffled. - Calling
NodeExists
now causes nodes to be compiled if they haven't been already.
v0.9.4
Parser
- Smileys should cause parse errors less often.
Unity integration:
- Added a method for loading Yarn code from a string.
- Remove use of 'WaitUntil', which created a dependency on Unity 5.3.2.
- Added a way to stop dialogue from Unity.
- Added a way to check if a node exists or not.
- Added a way to reset the DialogueRunner.
v0.9.3
v0.9.2
This release updates the architecture of Yarn Spinner to compile to bytecode. This doesn't change anything about how games use Yarn Spinner - it's entirely an internal change that will make it a lot easier to do some very cool stuff in the future.
We've also squashed several bugs, and generally made things more ship-shape.
v0.9.1
This is mostly a bug-fixing release, but it also includes the source for the demo game (available to play at http://dev.secretlab.com.au/yarnspinner/).