I've been stuck on this for over a week any help would be soooo welcome!
I have a 'menu page' which shows the levels, only level 1 is unlocked at the start.
When the player wins level 1, I set 'lvl2 unlocked and make the lvl2 button visible' this is perfect as the player can now select level 2.
But because on level 1 I have added "reset global variables" (I have to do this as that level takes turns between the player and computer) it resets the global and if the player plays level 1 again (even if they have completed it) the global gets reset and if they die or use the 'menu page button' the lvl2 button is invisible again.
I've tried sooo many different ways from saving to local variables, really what I need is a way to do this on the menu page:
If lvl2 button visible then permanently change global to 1 from 0, then when the player goes back to lvl and all global are reset, the global that I want is reset to 1, which keeps the lvl2 button visible.
I thought 'set global' would have set it permanently?
Is this possible or is there another way that I'm missing?