Problem with Advancing in Levels within my Game.....

0 favourites
  • 3 posts
From the Asset Store
Unlock Levels, Worlds & skin plus add coins by watching ads
  • Hello Members:

    I have a problem I can not solve.

    My Game has 3 Levels.

    On Level #1, I have two locked objects (Level 2. Level3) which prevent you from advancing until you have accumulated a certain amount of points.

    After you achieve the required points, you are allowed to advance to Level 2.

    This works the same for Level 2.

    When you advance to Level 3 all the Levels are unlocked and you can proceed to any Level you wish.

    However, when you return to Level 1 the previous Levels (Level 2 & Level 3) are locked.

    The same with Level 2, Level 3 is locked.

    My objective is to have ALL the Levels unlocked after a player has advanced to Level 3.

    Is there a workaround for this?

    Has anyone else had this problem?

    I would appreciate any suggestions you may have.

    Thanks

  • Sounds like you have it reset 'on start of layout' to lock any level > current level

    Without seeing your code

    You can create 2 Global Booleans

    Level2Unlocked = false

    Level3Unlocked = false

    In your code:

    where ever you unlock level 2, add in set Level2Unlocked = True

    where ever you allow players to go to level 2 create event

    Level2Unlocked = True > Level 2 Access (Copy paste whatever you currently have)

    Rinse and repeat for Level3Unlocked

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)