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
Hi guys, I've got a problem: i've got several levels in the game. At the beginning of every level the var 'progress' is assigned the value of the current level's id. This is made to be able to choose the needed level when you've finished playing. The issue example: when I'm on the 18th level the var 'progress' is assigned the value '18' but this var equals 16 in the LocalStorage. And only in 20-30 minutes the var equals 18 in the LocalStorage. How to shorten the time of assigning the correct value to the var? And what can the cause be (slow process of assigning the value)?
Develop games in your browser. Powerful, performant & highly capable.
I don't know what method you use to store information in local storage but I have an example that stores quickly. Here it is
Try that example and see if its the speed that you like. If you have an questions don't hesitate to ask.
PixelPower thank you