how to make a intro?

i was read something about GUItexture but i dont know how it’s work…

There are many many ways of doing this. One way is to simply draw a texture to the screen.

  GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), introTexture, ScaleMode.StretchToFill, true);

This way take a texture you want to display and stretch it to fill the screen. An issue with this approach is that if your resolution does not match your texture dimensions you will have strectching and it will look bad. If you can use a texture that is large and can be cropped for your background than you can do something like.

 GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), backGroundTexture, ScaleMode.ScaleAndCrop., true); 
 GUI.DrawTexture(new Rect(Screen.width * .5f - introTextureCentered.width * .5f, 
Screen.height * .5f - introTextureCentered.width * .5f, 
introTextureCentered.width, introTextureCentered.height), 
introTextureCentered, ScaleMode.ScaleAndCrop., true);

This would allow you to have a background image to fill the screen and a centered image to be drawn over it.

Create a separate scene. Then add:

Application.LoadLevel (1);

when it has finished showing!:hushed:

What happened to the good old days when everybody went through the tutorials and learned all kinds of stuff to prepare for their first game? :hushed: Here is a Gui Matrix for scaling your gui. Check the parameters for setting your target Res. :smile:

function OnGUI() {
    //------------//
    GUI.matrix = Matrix4x4.TRS (Vector3.zero, Quaternion.identity,Vector3
    (Screen.width / 1024.0, Screen.height / 768.0, 1));//Auto Scale GUI.
    //------------//
}

For splash screens I sometimes use a big colored cube for the background so you can do things like animated scrolling textures, movie textures and in some cases water. :slight_smile: