Skip to content

1.1.1

Latest
Compare
Choose a tag to compare
@joethephish joethephish released this 18 Oct 14:01
· 22 commits to master since this release

Version 1.1.1

Note: we previously released version 1.1 but it was a bit buggy so we're immediately replacing it with 1.1.1!

First, a little tip: We strongly suggest never updating to a major new version of ink for a game that's publicly released! While we aim for backward compatibility, we don't absolutely guarantee stability between versions.

Now, on to the fun part:

New feature: Dynamic tags, and tags in choices

A big thanks to BetterUp for sponsoring this feature.

You can now write ink rather than just plain text within tags:

VAR subject = "dog"
This is a picture of a {subject}. # image_of_{subject}.jpg

You can also directly use tags within choices, in all the places you can use text within choices. Here's a simple example:

+ [Take the apple # hand_holding_apple.jpg]

Or to combine the two above features:

+ [Take the {thingName} # hand_holding_{thingName}.jpg]

And here's an example that uses tags in every spot within the choice:

+ Start of choice text # tag both [Choice only text # choice only tag] This is after the choice is taken # post choice tag

On the game code side, the choices themselves now have a list of choices available on them too:

public class Choice : Runtime.Object {
    ...
    public List<string> tags;
    ...
}

Other changes

  • BREAKING CHANGE: Doing someList ? () (i.e. specifically checking for a list containing an empty list) now returns false rather than true, since this makes more logical sense in most circumstances and reduces the amount of explicit checks for that case.
  • Update to .NET 6.0
  • Documentation fixes (thanks @deviant-dev, @bitbutter, @tomkail, @owennewburn, @Atlas48 )
  • inklecate no longer outputs BOM in output (thanks @Fendse)
  • It's now possible to use ->-> some_variable_divert_target.
  • Add some multi-flow utility functions (thanks @russellquinn)
  • Various external functions and list API improvements (Thanks @tomkail)
  • Improve plugin API (Thanks @elliotherriman)
  • Fixes for origin names being wrong on lists

New ink unity integration plugin is also on its way, hopefully within the next day or two...