Here a simple addition operation: dropbox.com/s/gyq1wurwd05fl0y/keep%20global%20var.capx
Thank you! It worked.
Ah the example utilizing array probably not what you want to deal at this moment. Local Storage basically just stored value in strings. I can give much simpler example but what you want to do with the variable? It's a string or number?
Number
Develop games in your browser. Powerful, performant & highly capable.
Use local storage. Following example to showcase highscore board: dropbox.com/s/u5qjckrm57tzxic/contoh_highscore.capx
I didn't understand the event sheet because its a foreign language.
Let me see, hang on.
Yeah, this is my question. I want store my variable when game is closed. And when game is opened, it loads previous variable. I want this.
Member since 14 May, 2022