Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by Gamer_Dude_17 · Jun 02, 2011 at 02:22 AM · gamelevellevelsadd

How do you add levels to your game?

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!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Dani-Desa · Nov 28, 2016 at 03:21 PM 0
Share

How to add a menu screen page where the player can see the progress within the game with locked/unlocked level number?

avatar image TheSOULDev · Nov 28, 2016 at 03:37 PM 0
Share

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.

1 Reply

· Add your reply
  • Sort: 
avatar image
9

Answer by Dreamer · Jun 02, 2011 at 02:28 AM

Level is also called scene in Unity. Refer to below how to create scene:

http://unity3d.com/support/documentation/Manual/Creating%20Scenes.html

To add the levels created to game, you can go to build options and tick those level you created.

http://unity3d.com/support/documentation/Manual/Publishing%20Builds.html

To load a level, use Application.LoadLevel(level_name);

http://unity3d.com/support/documentation/ScriptReference/Application.LoadLevel.html

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gamer_Dude_17 · Jun 02, 2011 at 10:54 PM 1
Share

Thanks man!!!

avatar image Abhay12 · Sep 14, 2016 at 12:17 AM 0
Share

When I click on the links provided by u above I get Error 404 help me out

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

8 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Game crashes or does not load levels when told to? 2 Answers

Loading A Level After 40 Seconds 2 Answers

how do you actually stop a game? 3 Answers

Level Generator porblem 1 Answer

Adding new script, copying values, removing old script without selecting GO. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges