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
Game development stories & opinions
How do we create a HighScore variable to be stored in Android, even if the game is closed, and then have it retrieved when re-opened?
Does someone know how to do this?
Read the manual and the turorials, there are plenty that cover saving information. You can use the save game option, web storage, etc... all of these save it locally and work on every platform not just android.
Use the WebStorage object: that's the simplest solution for storing only a few variables: it will save them locally and then you can retrieve the data any time.
Develop games in your browser. Powerful, performant & highly capable.
BluePhaze and Roberto,
Thanks for helping. I read the page about WebStorage in the manual, and already did what I wanted.
The name is confusing so I wouldn't figure it out by myself.