Autosave
Hello everyone! i have seen many games on microstudio that have autosave (like microfarm) and I was wondering how you did it... does anyone now?
Hello everyone! i have seen many games on microstudio that have autosave (like microfarm) and I was wondering how you did it... does anyone now?
Check out the Documentation -> API reference -> Storage :)
Storage
The storage object allows for the permanent storage of your application data. You can use it to store user progress, highscores or other status information about your game or project.
storage.set( name , value )
Stores your value permanently, referenced by the string name. The value can be any number, string, list or structured object.
storage.get( name )
Returns the value permanently recorded under reference string name. Returns 0 when no such record exists.
And then for sure dig through those games that use it to see how they do it :)
I just remember, there is a good tutorial:
https://sites.google.com/ed.act.edu.au/games-programming/game-elements/score
Courtesy of @mrLman , bloody good :)