If I publish, will it auto-scale to both iPad and iPhone4?

I have v3 and a game ready to publish. I have it set to compilef or both iPad and iPhone.

My question is, if I publish it, will it take advantage of the resolution automatically of the iPad and iPhone 4 and still work on the iPhone 3?

Do I need to create multiple projects or just compile it once and go? If so, which icon will it use?

In the game window, you get set the screen to mimic iPhone, iPhone 4 and iPad to see for yourself.

I know how to see what it would look like before I publish, but does it auto-scale at runtime? This is not something we have had to deal with before and the manual doesn’t seem clear on it.

i have the same question

This has been asked before. You have a few options in the player settings,

One is “low or medium resoultion” On the iphone4 it will run at 320x480

Then there is “hd resoultion” on the iPhone4 it will run at 640x960. Remember you will have to do device detection to alter your hud.

If you are publishing for iphone4 i recommend testing your game out on one if you don’t have one ask a friend. Apps have gotten rejected because the Hud/controls were messed up!

Retina display is nice, but make sure your Hud/controls are laid out properly.

  • Matt

I think maybe you are missing the question since what we are asking has not been answered.

Here is what I’m trying to do:

  1. Use iPad resolution on an iPad
  2. Use iPhone 4 resolution on an iPhone 4
  3. Use iPhone 3 resolution on an iPhone 3
  4. Do all of the above by publishing 1 application

My GUI looks fine on all resolutions since it’s in 3D. I have my preview window set to iPad.

When I compile and run, will it auto expand or scale to fit 1:1 on each device it runs on or is it natively rendering to a particular aspect and scaling at run-time? If it’s doing the later it sounds like I need to compile 3 different applications, one for each native resolution.

Well i thought I answered your question. My advice is to make a universal build, have all three devices as part of your provisioning profile and make an adhoc build for each device to test and see. I wouldn’t recommend submitting an app for a device without testing on it first.

  • Matt

If you have Target Resolution in your Player Settings set to Native, you should be OK.

I haven’t tested on an iPad yet, but both my iPhone 3G and iPhone 4 are displaying the same layout as shown if I have my game window set to their resolution in Unity.

It is better if you can test on the actual devices, but that may not be possible due to them not being released in your market, etc.