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
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
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
Develop games in your browser. Powerful, performant & highly capable.
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 !