Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
0
Question by Crazyblondeguy · Jun 19, 2013 at 11:36 AM · screenloadingsplash

A simple Splash and Loading screen script please!?

I have been looking around for a very long time and i have found multiple Loading screen scripts and Splash screen scripts but they NEVER WORK!

I just want a splash script so when the player loads up the game, it'll go to a splash screen of a custom texture and go to the main menu.

And i'd like the loading screen between scenes, something like "loading.. please wait".

Can anyone please help me!!

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by kilian277 · Jun 19, 2013 at 01:45 PM

The method i give you works in unity free for pro check below.

For the splashscreen you can add a new scene and add a script that gets a texture as variable , and a int or string to load the main menu scene.

In the script you can change the alpha of the texture (first set it to 0 in the inspector) so in the Start method add some lines that raise the alpha value of the texture together with Time.deltatime to raise it every second (you can also add a value that multiplies with the Time.deltatime so it's a bit quicker)

Then you just wait for a certain amount of time and do the same as the fade in but then in reverse.

After that load the main menu scene.

For the loading screen you can also make a seperate scene and then add a guitexture to it like "Loading , please wait..." or something and add a script to the main camera and in thestart method add the code for the new scene to load.

You can also to this is in the same scene and then load the level (make a scipt for that).

If you have unity pro you can use

 Application.LoadLevelAsync(id);

This will load the level at the same time while your current scene is still running.

From this information you should be able the build a script upon.

Hope it helps !

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 Crazyblondeguy · Jun 23, 2013 at 07:39 AM 0
Share

Application.LoadLevelAsync(id);

for that what exactly do i have to do for it? my understanding is i make a loading screen gui, chuck it on main camera, then make a script and place it onto the main camera? is that it?

avatar image kilian277 · Jun 23, 2013 at 01:37 PM 0
Share

loadlevelasync loads the level simultaneously while the current level is not interrupted but to use that you will need unity pro.

For a loading screen ingame that will suffice. If you want to make a loading screen between scenes you can create a seperate "loadingscene" scene and do everything from above.

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

16 People are following this question.

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

Related Questions

Script wont read array 2 Answers

Take screenshot script doesn't work 1 Answer

Loading Screen - FLASH export 2 Answers

"You are not allowed to remove the Unity splash screen from your game", but I didn't 0 Answers

Screen position orientation flipping 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