I have 60 Global Vars for keeping stats that I use on an Achievements page in the game.
Is it possible to use a single Array instead of 60+ Globals to keep track of stats? It sure would be simpler to save ONE Array instead of 60+ Global Vars.
Thanks in advance!
Develop games in your browser. Powerful, performant & highly capable.
Check out dictionaries.
Yeah, I think i'm gonna go with Dictionaries, Nice call MadFactory!
Thanks a ton. They seem equally as simple to save via webstorage as well, thanks again!