ok..so i’m working on a game that requires quite a few layers so i was thinking of using images and lay them on top of each other but the problem is that i need 5 images per device (and i want to make the app universal) …so that’s 5x 4( iphone non-retina & retina, ipad retina & non-retina)
i made a few tests and the images are in average ~1.2 mb
counting that..and the splash screens the app will go over 25 mb easily (without any code .. or icons … or anything)
the images are not too complicated so my question is : is it better to generate the images at runtime rather than having them in my app?
my main worry is that the app will be too slow…but on the other hand..the app will be 30 mb
edit: i decided to generate them when the app is loading the 1st time and save them to disk …it will take a bit longer to load but its better for app size
You can put in the splash screen or the first few that are needed for your app to look fast the first time and generate and save the rest on the first run so that you have them available for the subsequent runs.
If your app is going to be larger than the 3G cap anyways why not put them in, if the rest of your app is going to be small its better to keep it small specially under the 3G cap (which is now 50Mb if I am not mistaken).