Can you make levels unlock?
Sambo110
Member Posts: 7
Can you have it so a level unlocks after you do the one previous? Sorry, I am a complete noob but have an idea for a game. Also, how do you do accelerometer controls?
Comments
make it a booleon and make it true for all the levels except the first one.
then for example make a list of your levels, and only make it clickable if that levels variable "level_X_locked" is false.
now how do they turn false (unlocked)?
at the end of each level, make the next levels variable false.
this way the list will have all the levels you already played and have the future levels locked.
hope the idea helps