Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
Im using the default save load system from c2 but when in cocoon it gives me an error.
I would like only to save and load some global variables like upgrades, levels, gold, etc.
how can i do this the easiest way?
You could use webstorage : https://www.scirra.com/manual/120/webstorage
Develop games in your browser. Powerful, performant & highly capable.
i have like 100 global variables 5 for each upgrade, is there any way i can save it all and dont have too add 1 by 1
Indeed that's a lot of variables !
You could use an array instead of 100 globVar, and the saving would be easier (save the array as JSON).