How do I make levels unlockable in my game?

0 favourites
  • 2 posts
From the Asset Store
LevelsManager is a Construct 2 & 3 plugin to manage your worlds and levels easily
  • Okay, so I have a main menu lay out, level load layout, and 4 layouts for levels 1-4. On the level load layout, all levels are unlocked but level one... I want to make it to where when you play and beat level one in the level one layout, it will make the 2nd level unlocked in the load level layout. How do I accomplish this? Upon beating each level, you go to the next level, but I also want them to be able to open the game and go straight to the level they last played, so they would go to the level load layout to find it. I am having problems transferring data back to the level load event sheet. I basically programed it to say (on the level one event sheet), "When level one is beat, set 'Level2Unlock' to equal 1 (a global variable on the level load event sheet)." Then, I programed it to say (on the level load event sheet), "When 'Level2Unblock' is equal to 1, destroy the 'Level2Locked' sprite (picture of level 2 locked) and create the 'Level2' sprite in its place (picture of level 2 not locked). For some reason, it is not working. Am I not able to change information in other layouts? Is there a way to do this? And, if needed, is there an alternative way I should set this up? Any help would be very much appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • this link may help you

    scirra.com/tutorials/311/level-select

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