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
Our educational partners
Free education resources to use in the classroom
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
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.