I would love to add a auto save feature into my game without a button. I would love to save the highscore and eventually add a shop. Is there anyway to do this?
I normally just save using localStorage...
How much are you trying to save?
I think there is a save/load feature... but would need to check C2 for the exact event/action...
Mainly High scores, and eventually upgrades and such.
I normally just save using localStorage... How much are you trying to save? - Highscores - Entire game state I think there is a save/load feature... but would need to check C2 for the exact event/action...
- Highscores
- Entire game state
High scores and eventually upgrades and such.
If your not saving the entire game... use localStorage.
Here is a recent tutorial I saw...
https://www.scirra.com/tutorials/1461/h ... age-plugin
If you need more help, I might throw together a video for you!
Develop games in your browser. Powerful, performant & highly capable.
So you would create a Save Function, within that would be what you are storing to local hi-score, level, gold etc. Then you could do a Every X seconds or when a checkpoint reached call function Save.