Having a Brain Fart Help PLS !

KrogothicKrogothic Member, PRO Posts: 123
edited November -1 in Working with GS (Mac)
Hi guys, I am going brain dead today I think.

My issue is I have my lvls setup, to unlock the next I have a rule check that checks the current lvl and the next lvl.

If LVL 1 is true, and LVL 2 is false it unlocks+1

Works great, unless they go back and replay the lvl, then it unlocks another lvl.

Any direction would be helpful PLS !

Comments

  • RHRH Member Posts: 1,079
    Do you have an individual global attribute set up for every single level? If you do I'd change it to using just one global attribute and use an integer. It's easier to manage and uses less attributes.

    Then you can have when the level is completed if self.level = game.levelsunlocked change attribute game.levelsunlocked to game.levelsunlocked+1
  • KrogothicKrogothic Member, PRO Posts: 123
    Yes each LVL has its own timers, I added each lvl timers for the different win conditions, and difficulty lvls, I maybe able to add on attribute to chk self lvl. I do use that to unlock
  • KrogothicKrogothic Member, PRO Posts: 123
    Thanks, RH I added attribute that checks the unlock that chks less then or = to the lvl.

    That did the trick !

    Krogothic
Sign In or Register to comment.