Skip to content

Save state now available!

Pre-release
Pre-release
Compare
Choose a tag to compare
@joethephish joethephish released this 23 Mar 17:15
· 925 commits to master since this release
  • Save state now available. Call story.state.ToJson() to get a JSON string representation of your game state. Call story.state.LoadJson(yourString) to load it up again.
  • Intermediate compiled JSON format for stories themselves re-worked from scratch. File size is now roughly 50% smaller. Further improvements may be made in future but they're likely to be harder work and less dramatic!
  • VariablesState now implements IEnumerable for easy walking over your global variables from game code. Thanks @bateramos!
  • API Change: Story now has a normal constructor that takes a JSON string rather than calling a static CreateWithJson factory method.
  • Small bug fixes