Say I am developing an HTML5 game. During game play, the player may upgrade certain stats and purchase weapons. How do I save the fact that these were bought/upgraded so that the next time they open the game they will still have all their purchases/upgrades?
Develop games in your browser. Powerful, performant & highly capable.
Use the "System:Save" and "System:Load" actions for when the Layout ends and starts.
As for the upgrades, give them all a unique number and use variables. So if the player buys Upgrade 1, add 1 to "upgrade" and so on.