Level select lock unlock

nanygamesnanygames Member Posts: 41
I have a problem with my level select.
My level select have lock,When I pass the 1st , 2nd ,3rd , 4th level and when I back to the 1st level again,he opens the 5th level without I have complete the 4th level and so on.How can I do to he don't stay unlock?

Here is the rule:

Rule=
Actor receives event= touch is pressed
Attribute= game.Level Complete ≤10

Change Attribute=
game.Level Complete to game.Level Complete+1



Thanks!

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    In your rule Each level needs to be checking to see if that level is already beat. So instead of game.LevelComplete ≤ 10 it need to be ≤1 for level 1 and for level 2 it needs to be ≤2 Etc….
  • nanygamesnanygames Member Posts: 41
    Thank you so much!Now it is working as I wanted.
Sign In or Register to comment.