- Save state now available. Call
story.state.ToJson()to get a JSON string representation of your game state. Callstory.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!
VariablesStatenow implementsIEnumerablefor easy walking over your global variables from game code. Thanks @bateramos!- API Change:
Storynow has a normal constructor that takes a JSON string rather than calling a staticCreateWithJsonfactory method. - Small bug fixes