Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Wanted a tutorial on level unlocking system

I made some levels for my game but I wanted to unlock them as a player progress or can buy it. But I can't make the level menu UI correctly from which you can select levels and unlock them with specific conditions. It will be great to have a tutorial for it as I can't find any good videos on this topic.

Thanks

Comments

  • jtok4jjtok4j Member

    Greetings,

    You can put in the buttons to load the levels, and disable them. Then you can use player prefs to save a bool variable with the level's name (for your easy reference) and turn that to true, when the player progresses/finishes the previous level.

    Whenever the load menu screen loads, you can have a script check the bool variables you created for levels, and enable the buttons for the levels who's buttons have a matching variable which is "true".


     Keep on Creating! 


    Justin of JustinTime Studios (http://unity3d.expert) 

Sign In or Register to comment.