Game Development Community

iTGB size on iPhone

by Nathan Christensen · in Torque Game Builder · 06/04/2009 (8:51 am) · 3 replies

What is the size of iTGB on the iPhone with no assets, just iTGB.

#1
06/04/2009 (1:04 pm)
About 5MB. I've managed to shrink the actual binary a little, down to under 2.3MB, with the rest being about 2MB of scripts and assets. This can also be reduced more with careful pruning.
#2
06/05/2009 (5:38 am)
Is there a file type for asset that take up less memory in the iPhone using iTGB? ei. png VS jpeg or MP4 VS wav VS avi.
#3
06/05/2009 (6:37 am)
PVRTC instead of PNG to reduce memory to 1/8th or 1/16th, but not everything looks good after conversion.

MP3 is the recommended music format. You get a licence to use that as part of being an iPhone developer.

You can only play one compressed stream at a time with hardware decoding, so WAV is the most useful sound effect format. If you make loaders for other formats, you could save some space. No way around the memory usage after, so use lower frequencies.

All of this applies whether you use iTGB or make your own engine from scratch.