Need help from advanced users - Load Time Analysis of My Game
I am in the final production of my game and have a pretty good feeling that I need to go back and optimize my game for better loading times. I would like to know if any of the veterans out there can look at the following information I gathered while previewing my game on the iPhone and give me an analysis of how much optimization I need to do.
When I load the game to preview it on the iPhone, it takes:
55 seconds - to compress the game assets
15 seconds - to load game from computer to iPhone
44 seconds - to load game on the iPhone in order to play it
NOTE: Once the game is loaded and ready to play, the loading time between levels is at least satisfactory - only a second or two at the most.
The following info is based on memory usage:
Images - 25 mb
Sound - .9 mb
Game Engine - 11.7 mb
Other - 11.5 mb
Total - 49.7 mb
I have a feeling I have a lot to work to do in order to optimize this game and in hindsight, probably should of paid close attention to this from the beginning. Regardless, I am motivated and very interested in getting this done the right way. Please advise and than you in advance!
When I load the game to preview it on the iPhone, it takes:
55 seconds - to compress the game assets
15 seconds - to load game from computer to iPhone
44 seconds - to load game on the iPhone in order to play it
NOTE: Once the game is loaded and ready to play, the loading time between levels is at least satisfactory - only a second or two at the most.
The following info is based on memory usage:
Images - 25 mb
Sound - .9 mb
Game Engine - 11.7 mb
Other - 11.5 mb
Total - 49.7 mb
I have a feeling I have a lot to work to do in order to optimize this game and in hindsight, probably should of paid close attention to this from the beginning. Regardless, I am motivated and very interested in getting this done the right way. Please advise and than you in advance!
Comments
good luck and do post if it is 44 seconds to load from the recent list. this seems really heavy.
cheers kipper
I wasn't sure if the preview was a good gauge or not when testing loading times for a Gamesalad game. I didn't think twice about it until I decided to test a sample game that has a few files, sounds or rules. When that game was compressed and loaded right away, I became a little worried.
It seems, according to you, loading a recent game on the GS viewer is a more accurate indication of loading time. If this is the case, I may be in really good shape because it only takes a second for my game to load.
Can anyone else verify: is loading a recent gamesalad game onto the GS viewer an accurate indication of loading times?
Thanks for your reply. I don't know if my game is really big. If I had to guess, I would say no, but the stats I included in my initial post may shed light on it?
Thanks for the idea of trying an Ad-hoc version. I guess I could, but first I want to know if "is loading a recent gamesalad game onto the GS viewer an accurate indication of loading times?" If that is the case, then I won't have to waste any more time with it. If not, ad-hoc it is : )
Thanks again.
If you use PNG compression software, like ImageOptim, it reduces the file size. (I think this is probably lossless compression.) I think that's what GameSalad is doing when you preview or build your game. It's compressing the PNG files.
That's a good thing... right?
Not exactly, the problem is that GameSalad does it EVERY TIME that you want to test your game. It compresses the images and sends it to the testing devices. Instead of just compressing the image once and saving the file, it's compressed every time.
To speed things up, I sometimes turn off Resolution Independence while testing.
If you want to speed up your loading times, you might want to look into Indexed PNG files. If your image looks OK with 256 colors, then the file size will be much smaller... like 1/4 of the original size. So while the same amount of RAM will still be used, at least the loading time might be improved.
These tricked helped big-time with BOT. I was unable to publish the game because the file sizes were so large... and it would take like 30 minutes to find out something was broken with my game.