Hi! I'm making a simple puzzle game with 50 levels, but I have no idea how to add levels to my game! If someone could please tell me or leave a tutorial link that would be great! Thanks!
How to add a menu screen page where the player can see the progress within the game with locked/unlocked level number?
If you already have a menu screen and a working save load script, then you just have to add variables of progress into your save file script you serialize. It will be automatically saved and loaded upon request. Then, in your menu scene and in the screen you want the progress to be, you would have to create some kind of gameobject, probably text which you'd like in the script to show the progress. Note how I don't know what kind of progress you're talking about, so the general tips would be to save that progress numerically somewhere and then link it to a gameobject so it is shown on the menu via script.
Answer by Dreamer
Jun 02, 2011 at 02:28 AM
Level is also called scene in Unity. Refer to below how to create scene:
To add the levels created to game, you can go to build options and tick those level you created.
To load a level, use Application.LoadLevel(level_name);
When I click on the links provided by u above I get Error 404 help me out
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
7 People are following this question.
Can I Access Objects or Scripts in an Additive Level?
preferences, load second time etc
Help with loading new levels - restarting scripts
get all scripts attached to gameobject
Simple FPS Movement Not Working