0 votes
asked by (360 points)
If I want to send my game (.html) around in an email lets say, because it's its own self-contained file, it will work without internet, right?  In that case, where are saves stored without internet?  Does the player have to use the "save/load to/from disk" option?  If so, is there a way to have it automatically do this so my game doesn't require internet?

Thanks!

1 Answer

0 votes
answered by (52.4k points)
The data goes to the browser's storage cache, which is on your computer, not on the Internet. You don't need to use the import / export options.
commented by (360 points)
So if the player doesn't have internet, they can save an load.  However, if they clear their browser cache, all save data is lost?  is there any way around this?

Thanks!
commented by (52.4k points)
Yes. That's what the (SugarCube only) import / export options are for.
commented by (360 points)
Got it.  (So I assume this works on mobile too).  Is there any way to have it default to using local storage?

Thanks
commented by (52.4k points)
What do you mean? The save feature uses local storage, and you can export to and import from disk. There is no "default", really. It always uses local storage, and when you export, it's still in local storage, but you also get a copy on disk.
commented by (360 points)
Got it.  I must have misunderstood. My apologies!  Thanks!
Welcome to Twine Q&A, where you can ask questions and receive answers from other members of the community.

You can also find hints and information on Twine on the official wiki and the old forums archive.

See a spam question? Flag it instead of downvoting. A question flagged enough times will automatically be hidden while moderators review it.
...