Well... This question kinda falls into two bits.
a) How do I actually make a loading screen? Like, when I go from Scene to Scene...
b) How do I make it such that its animated? Like a little 2D character running, a filling bar, etc.
Thanks!
Well... This question kinda falls into two bits.
a) How do I actually make a loading screen? Like, when I go from Scene to Scene...
b) How do I make it such that its animated? Like a little 2D character running, a filling bar, etc.
Thanks!
The simple way:
Create a scene that will be your loading screen, do what you want to do with this scene (an animation or whatever you want). Don't forget to make this small to load.
Create an object with a script and in the Update function of this script just put these lines:
if(Application.GetStreamProgressForLevel("levelName") ==1){
Application.LoadLevel("levelName");
}
Make sure that you put these scenes in order when publishing:
LoadScreen
Leve1
LoadScreen
Level2
…
The Application.GetStreamProgressForLevel() function return a float number between 0 and 1, you can use this to make a progress bar too.