Hi guys,
I'm trying to make a level select with webstorage. So i used the capx ramones send in this forum:
the problem is that i have no idea how to make it go to the right levels in the second world. World one was easy, i just added level instance for each level (15 on world 1 in my game) as a second condition. So it would look like this. Array is 15 width 2 height and 1 depth
touching: sprite ------------------------------------------------------------------------go to level 1
array: value at(Sprite.level,currentworld) not locked
sprite: level=1
touching ---------------------------------------------------------------------------------go to level 2
array: value at(Sprite.level,currentworld) not locked
sprite: level=2
etc......
But when i reach the next world (level16) it will play level 1, level 16 will play level 2. How can i fix this? Tried several conditions but didn't find a solution.
Thanks for taking the time to help me!!!!!