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
I have followed some example and capx files for the Local storage tutorial, so it is working when browser is open.
But when I reopened the browser the last High score not shown on screen.
Any help will appreciate!
Thanks in advance
Develop games in your browser. Powerful, performant & highly capable.
What do you mean when you say it is working when browser is open? Doesn't sound like localstorage has worked at all here and you will need to double check your logic from the tutorial.
Are you sure you are saving and loading the data correctly?
I have tried this type of event.
please click on the following link.
LocalStorage is a little buggy and sometimes it won't load all data.
Read this thread:
I am using the method of saving anything into a dictionary and then saving the dictionary as one item in the LocalStorage
Thanks! can you please tell me how to write event.
The problem is solved, I have missed there one step.
"Local storage" -"get item"
Thanks for the comments !