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
As stated in the subject, it keeps resetting to 0
I am not sure if I did something wrong with the event sheets or am I missing out something.
But I'm pretty sure I'm doing it right. Can anybody help me out here?
Develop games in your browser. Powerful, performant & highly capable.
You only update the local storage once, when it gets created, of which I am assuming the data is 0.
so, it is likely not resetting itself ... you never set it.
On event 14, at the bottom, add:
local storage set key "DataString" to DataStorage.AsJSON
Thx lennaert I figured it out, turns out one of my Event Sheet is messing up with the local storage actions.