![]() |
|
Loading screens - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html) +--- Thread: Loading screens (/thread-1295.html) |
Loading screens - mlady - May 14, 2009 11:33 AM Hi, in loads of games while loading, there is a loading bar. Well, I tried to do this, but no luck. I want at least when application is starting switch images (Default.png to ie. company logo etc) I did it like this: Code: kTexture_Title = [[Texture2D alloc] initWithImage: [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"main" ofType:@"png"]]];Any ideas what I am doing wrong? Loading screens - mlady - May 20, 2009 02:39 AM Hey you guys, nobody is having this problem?? Maybe I explained it badly. Well my problem is that I am loading whole bunch of stuff in applicationDidFinishedLaunching method. After that I start the timer and thats the moment the images got switched. No matter what I try I can't switch it in the middle of loading!!! ![]() The loading on device take more than 10 sec which is pretty annoying just to watch on 1 picture. I want to switch images. Please help.
Loading screens - kodex - May 20, 2009 11:35 PM Bring the image swapping into a new thread. |