Right before I went to bed I stop coding and was talking with wife before she went to work and Windows Defender decides right at that moment to shut Defold down. Meaning I lost about 30 minutes of work.
But was wondering if there was an autobackup feature- that makes a backup say every ten minutes- in case of power loss etc?
For the timer, see how the editor already has a timer for checking updates.
For the saving, see how Ctrl+S works, probably copy that.
Then in prefs add a checkbox to enable auto-save along with a numeric field for minutes between auto-save.
Living in rural mid west of America- we get power outages all the time, internet outages, and even cell phone outages! They dont last long maybe a few seconds to minutes but just enough that you can lose all your work since last save.
For the timer, see how the editor already has a timer for checking updates.
For the saving, see how Ctrl+S works, probably copy that.
Then in prefs add a checkbox to enable auto-save along with a numeric field for minutes between auto-save.
Is this for me? If so is there a references you could point me to in modifying the editor?