PDA

View Full Version : Creating Splash Animation




iLoveDeveloping
Oct 20, 2009, 06:46 PM
Hey,

Just trying to create an animated splash screen for an App i have at the moment, but i am getting really stuck, i need advice on two things,

1. can i put in a .gif file to play on start up of the App? If not, what files can i use? (my Favorite "intro screen" is from Rolando with the clapping hands, anyone know it?) i want to make something like that with a sound..

2. How on earth do i put a sound in to play when the intro Splash screen plays?
Is it just like a SystemSoundID thing but linking it to startup instead of a Touch?

Thanks..



Darkroom
Oct 20, 2009, 09:44 PM
the image that appears while the app launches from springboard and loads is a static .png file named "Default.png". read this (http://developer.apple.com/iPhone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html#//apple_ref/doc/uid/TP40007072-CH7-SW16).

chbeer
Oct 21, 2009, 06:34 AM
The animations at the start of games are mostly movies played with the iPhone movie player. Animations like the startupscreen of ConvertBot are mostly simple Core Animations.

Create a Default.png that looks like the first frame of your movie and start the movie as the first action in your app.

iLoveDeveloping
Oct 21, 2009, 01:23 PM
the image that appears while the app launches from springboard and loads is a static .png file named "Default.png". read this (http://developer.apple.com/iPhone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/ApplicationEnvironment/ApplicationEnvironment.html#//apple_ref/doc/uid/TP40007072-CH7-SW16).

Well duh.... :D everyone knows that, a splash screen is not a Default screen!! it comes after it... i didn't ask about a Default screen.. :p


The animations at the start of games are mostly movies played with the iPhone movie player. Animations like the startupscreen of ConvertBot are mostly simple Core Animations.

Create a Default.png that looks like the first frame of your movie and start the movie as the first action in your app.


Cool thank you!! That i did not know!! :) i will give that a go... Thank you very much..! :)

iLoveDeveloping
Nov 1, 2009, 12:52 PM
The animations at the start of games are mostly movies played with the iPhone movie player. Animations like the startupscreen of ConvertBot are mostly simple Core Animations.

Create a Default.png that looks like the first frame of your movie and start the movie as the first action in your app.

Have a movie made with this code:

NSString *path = [[NSBundle mainBundle] pathForResource:@"" ofType:@""];
MPMoviePlayerController *theMovie = [[MPMoviePlayerController alloc] initWithContentURL: [NSURL fileURLWithPath:path]];
theMovie.movieControlMode = MPMovieControlModeHidden;
theMovie.scalingMode = MPMovieScalingModeAspectFit;
[theMovie play];


Can i use this as the start up screen to play a very short 'intro splash'? And how would i link this as the first action in my App?

dejo
Nov 1, 2009, 02:45 PM
Have you tried putting that code in applicationDidFinishLaunching:?

Also, just be aware that a portion of your customers are not going to want to sit through an animated splash screen before they can start to use the application.

NickFalk
Nov 2, 2009, 04:45 AM
Also, just be aware that a portion of your customers are not going to want to sit throw an animated splash screen before they can start to use the application.
About as useful as advice gets.
No matter how good your animation is, after 4-5 viewings (at best) people will be annoyed. Also, adding a movie-file will increase the size of the app, taking it longer to load: Another nuisance.

iLoveDeveloping
Nov 2, 2009, 02:19 PM
Yes i no, it sux to wait, my favorite game is Rolando, and they have a killer of a long startup time!! But i think it is ok, its like 3 seconds, the App itself takes that long to start up i was just thinking, might as well fill that time with some App space for myself, having the App launch exactly when its over.. I will see how it goes, i will use it a few times and see if im ok with it..

dejo
Nov 2, 2009, 02:22 PM
Instead of just filling the time, is there anything you can do to increase the startup speed? That's probably something all users would appreciate.