iftechfoundation / twine-cookbook

Twine Cookbook
131 stars 31 forks source link

Saving Games/States #27

Closed videlais closed 6 years ago

videlais commented 6 years ago

Examples for reading, saving, and removing 'game saves' or equivalent functionality.

Harlowe: (save-game:) SugarCube: Save API Snowman: Web Storage Example

greyelf commented 6 years ago

What type of example do you envision for this? because SuagarCube's Save Dialog does all the things you listed.

videlais commented 6 years ago

@greyelf: Basically an example that uses the Save API in SugarCube to show a user how to access different things directly. The other story format examples would be along the same lines: how to do "saving" in each of them.

greyelf commented 6 years ago

@videlais: So for Harlowe & Snowman you want examples showing how to implement a Save system with functionality similar (Save, Load, Delete Save, Export, Import) to that found in the SugarCube side-bar option (possible without using a Dialog), where as you want the SugarCube example to show how to replace the existing sidebar functionality with a custom implementation?

videlais commented 6 years ago

@greyelf: More or less. I'd say that the SugarCube sidebar functionality could be mentioned, but I think it would be most useful to have examples that used the Save API more than the built-in functionality to show, looking across all three, how to do a similar thing in each.