TIC-80 icon indicating copy to clipboard operation
TIC-80 copied to clipboard

Autosave function

Open darkhog opened this issue 6 years ago • 12 comments

I'd like to be able to set an autosave for your game to prevent loss of data due to power outage or simply forgeting to save before exiting. Just add this to the config:

autosave = x, where x is amount of minutes between each autosave (0 to turn it off) Also this:

autosaveonexit=true- will autosave when TIC closes.

The autosave would fail silently if game wasn't saved at least once (new file) or if it can't be saved for another reason (read-only file or loaded from the site)

darkhog avatar Jul 08 '17 20:07 darkhog