How to play movie instead of Splash Screen on iPhone?

Basically, most of iPhone games play movie instead of Splash Screen, at the same time, application is loading… I am looking for the answer, but many people on OverStackflow they dont understand what Spash Screen is. Anybody know that and could Unity do that? :slight_smile:

For the record, iOS apps MUST have a simple IMAGE splash screen first (even if it is only on for a short time). It's impossible for an iOS app to load otherwise. After that, it will load scene #1 from your unity project. If you want scene #1 to be a movie, or anything else - whatever, that's great. So if you prefer you can think of as Scene #1 as your "loading scene" (like you say, maybe it is a movie). While that Scene is playing, you can go ahead and load your "first game scene". Hope it helps.

3 Answers

3

With the Pro version you can actually load entire scenes, while you do something else (like show some intro scene).

But then Video-Playback isn’t something Unity is famous for…

Check out this link:
http://unity3d.com/support/documentation/Manual/Video%20Files.html

It shows, what posibilities you have to display Videos in iOS with Unity. (scroll down, to see the documentation for iOS.)

The Splash Screen in iOS is a simple image file. If you want to do a video or anything like that, create a scene that is loaded on startup to run your video. Then set your splash image to just be a black image.

While it is up there for only half a second, it would be a nice workaround. Especially if your first scene loaded very quickly.

Just for the record, to be clear, it is quite difficult to make an iOS opening image, "fade out". In fact you can't do it! Any iOS app you have seen where the opening image fades to the game, you have to cut from the opening image to yet another iOS "scene" which happen st be the same image that then fades. So to be clear, rabbeting means you would do the cross-fade "in" the video.

Hi Guys, Thanks!
For couple hours research, I see what’s that. Actually, all iPhone Games do this:

  1. The splash screen is alway there, can’t change, so set the first frame of video to be the default.png;
  2. Create a thread to play the video and the same time, loading the application.

that's correct. even in a "normal" iOS game that has nothing to do with Unity: if your boss tells you "I want to fade from the opening screen to the spreadsheet..." (or whatever!) ... in reality it cuts from the static opening image, to another scene that happens to be identical to that and then fades. you cannot "actually" fade the opening iOS image.