Game Development Community

App failed to launch in time

by Aaron Zhang · in iTorque 2D · 04/29/2009 (11:47 pm) · 5 replies

We are going to launch our first game with iTGB soon, but we found a very serious problem from app aging test, the game run well with ipod touch 2 and iphone 3G, but it's not stable with the first generation of ipod touch and iphone.

When we launch the game, the game have the 50% chance to be killed by iphone system, and 100% chance to be killed if the device was connected with computer, the major reason is that the launch time is too long,more than 30 seconds.

The whole project froze now, because we can't fix this problem by ourself. We need your help ASAP!!! please give me some advice how to shorten the launch time and make 100% safety launch







hu Apr 30 14:07:20 unknown SpringBoard[24] <Warning>: TGGame.kingneed.net failed to launch in time
Thu Apr 30 14:07:29 unknown com.apple.launchd[1] <Notice>: Exited: Killed

About the author

Recent Threads


#1
04/30/2009 (5:32 am)
We had run into this same problem. The easiest way for us to fix it was to to not load everything at the start of the game. Only load what is needed - in our case, that still wasn't enough, so we have our game load only a splash screen that the user must touch to continue...at this point, this is the only thing loaded and the startup time is fine. After the user touches the splash image, we do the rest of the load.
#2
04/30/2009 (7:22 am)
I am currently having the same problem, I know this was mentioned in another thread but Geoff do you think you could run through the process you used to do this? I am not sure how to tell torque when to load which parts.
#3
04/30/2009 (7:49 am)
I'm not sure if this is the appropriate method, but I found this article yesterday and have been meaning to look into it.

http://tdn.garagegames.com/wiki/Torque_2D/ImageMap_Tutorial
#4
04/30/2009 (8:46 am)
That article is pretty useful, good find! Unfortunately it does not seem help with the issue at hand, but I think I should be able to make use of what I learned in it down the line.
#5
04/30/2009 (11:09 am)
Check this out, it's my own explorations of the exact issue, and what I did to resolve them.

http://www.garagegames.com/community/forums/viewthread/88445

Basically I took an indepth look at exactly what was loading (do NOT ignore /common) and when, and moved everything around until after the main screen loaded.