How To Make Build For iPhone3GS and iPhone4

Hi all,

i am almost done with my game (developed on unity 1.5.1) today i ported it on Unity 3.2, its running fine on iPhone 3GS but its not same on iPhone 4, specially the HUD elements, please help me out,

  1. do i need to make separate build for iPhone 4 and separate for iPhone 3GS,

  2. or i add both images (for iPhone 3gs and iPhone 4) in project and before displaying them i check the device and select them and place them accordingly (i think it will increase the size of the build)

or there is some more appropriate way, please help me out…

Regards,
Dev

  1. thats not possible, apple does not allow you to split it like this.

  2. Either add both or go to the player settings and set the resolution accordingly so it does no longer render at 960x640 on 4th gen devices

I did option 2., it was a bit work to make all needed GUITextures and labels showing correctly, but I think it’s better to spend one weekend with it, than let it runs on low res only. I wish apple make some changes in this area, it would be much easier to choose exact target platform and ARM architecture as we wish to build. => “game for 3GS” “game for 4G” could be app name and customers won’t be able to download a wrong version… It’s a dream I guess :frowning:

Well you can always do a normal and a HD version
But you can not cut the 3GS from the equation, but wouldn’t need with a HD one if you mention them appropriately in the description.

See the whole host of games with hd versions

I doubt you will ever be able to split the same application in a low and high res version while remaining the same because it would not work with “take app over to new device” if there would need to be 2 different applications for the same thing