Hi,
i have one problem with save and i do not understand why....
I have layout with levels (one picture symbolise one level) and at start level 2 3 and 4... are locked, but when i complete level 1 i need to unlock level2....
I have this in layout with levels
if global number save = 4 then destroy sprite lock 1, sprite lock 2 ....
in levels i have (for example for level 2)
start of layout -> set global number level to 2
sub event: if level > save then set save to level and set local key save to global numer save.
in layout logo (first layout) i have
start of layout -> set global number save to WebStorage.LocalValue("Save")
and
if local key save does not exist -> set global number save to 1
but it does not work... levels are stil locked ( i do not turn off game)
please help me ....