https://www.scirra.com/tutorials/1461/h ... age-plugin
scirra.com/tutorials/1461/how-to-use-the-localstorage-plugin
Yes, — are you using any method to save the game? If not it will return to default every time opened.
— I understand that I should use local storage, but when I try to do it it doesnt work. How would I phrase the series of events needed to make it work.
Develop games in your browser. Powerful, performant & highly capable.
this example will update the gold_key in the localstorage with the value of my gold variable...
Exactly as how it is explained in the link i gave you...