Level Complete

tdevtdev Member Posts: 18
edited March 2012 in Working with GS (Mac)
I have a scene (Level Select) and then multiple levels (atm, just 1.1 and 1.2). In the levels, I'm trying to make it so that if you complete the level, it will place a check on the level button in the level select screen. Right now, I have it so I can, but it places a check on all of the level buttons. Will I have to make an insane amount of booleans for each one for it to work or is there another way? Thanks!

Comments

  • beefy_clyrobeefy_clyro Member Posts: 5,394
    You'll either need to do a separate attribute for each..

    or ..

    Create a self attribute in the lock called something like level
    Have a rule that says if unlocked level is equal to or greater than self.level
    Change alpha to 0

    Then in each copy of the lock, go into the instance and just change the self.level to what level it is.

    Hope that helps
  • tdevtdev Member Posts: 18
    Alrighty, thanks. I kinda figured that I would have to go through and make an attribute for each, but just wanted to make sure lol
Sign In or Register to comment.