adding autosave - jackdarker/TwineTest GitHub Wiki

How to extend the already existing save/load with autosave.

  • extend the Save-Form with an extra save-slot 'Auto'
  • add a call to window.storage.saveBrowser('Auto') whenever you want to do a save, f.e. whenever the wakeup-passage runs
  • keep in mind that saving will be synchronous and block the execution of the game