Hi again, everyone.
As I move through the development of my first game, I'm faced with challenges at every turn. Good challenges, and I can usually work through them, but one thing has been bothering me: saving the player's progress.
My thinking is that I'll create an array that saves the player's current level, total money, unlocked vehicles, upgrades and so on. That's easy enough, but when they quit the game, that info is lost. I've had a look at webstorage and that seems to be a good way to record information, but I'm worried about the cookie clearing issue.
I'm developing for iOS and Android (CocoonJS), and PC exe (node-webkit)
So, my questions: What's the best way to permanently save information on both of these platforms? Is there an internal function that can do this on all platforms?