I'm coding my first game, a 2d game. Now I'm not sure which is the preferable way to save cerain things.
In the game, you can collect coins every now and then, and with them, you can buy and develop certain game-mechanics. I'm also thinking about having a possibility to buy these VC.
How should I save this progress? And the amount of coins, and also the high scores?
At the moment, I save a file to the SD-card with this information. But is that safe and solid? Should I instead save vital progression in a MySql-database online? If so, does anyone have a link to a tutorial to do this?
The setup is similar to a game like Temple Run, where you could both collect and buy coins and the progress is saved.
Thanks for any help!
In the game, you can collect coins every now and then, and with them, you can buy and develop certain game-mechanics. I'm also thinking about having a possibility to buy these VC.
How should I save this progress? And the amount of coins, and also the high scores?
At the moment, I save a file to the SD-card with this information. But is that safe and solid? Should I instead save vital progression in a MySql-database online? If so, does anyone have a link to a tutorial to do this?
The setup is similar to a game like Temple Run, where you could both collect and buy coins and the progress is saved.
Thanks for any help!