Im really stuck here.
I have been following some tutorials trying to get my arrays into webstorage but it is only half working.
What happens is... The webstorage is saving only some of my data. (Im not positive its saving data still or if its loading an old key, but that green checkmark makes me think it still is.)
In the two pictures below it saves the fact that i completed level one yet wont unlock level two even when the current level variable shows that it should be going up.
For some reason there is no change.
And this is how i have my webstorage and array events set up (as the tutorial said, so i must be missing a step.)
The top picture is on the game events page
The bottom picture is on my level select page
Whats strange is that it saves my progress and shows what levels i completed and how many stars i achieved when reloading the browser, but it wont let me progress.
Im sure i explained this really horribly. Maybe someone could help me start fresh with saving my array to webstorage. None of the tutorials cover multiple levels. Maybe send me a pm and i can show you my capx. So stuck right now :/