iPhone 3 and iPhone 4 screen resolutions

I am really confused about iPhone3 and iPhone 4(5) screen resolutions (please bear with me, it has probably been asked before).

I want to create my App so it runs fine on iPhone3 and my screen size is now always 480x320 Pixel. Works fine.

Now for iPhone 4 and beyound, what is the screen resolution that I should prepare the graphics for? 960x480? Or 533x800?? or 480x320 with 300dpi?

The iPhone 3 App is already done and up in the store :-)
Is it a good idea to create high-res images for the iPhone 4 APP and then use a config.lua the SCALES DOWN the hi-res images for iPhone3 users?

1
2
3
4
5
6
7
8
9
application =
{
        content =
        {
                width = 533,
                height = 800,
                scale = "letterbox"
        },
}

I would change your width, height in your config to 320x480, then follow the directions here:

http://blog.anscamobile.com/2010/11/content-scaling-made-easy/

http://blog.anscamobile.com/2011/01/dynamic-image-resolution-made-easy/

Dave

the iPhone4 screen is simply 2x the screen of iPhone3, so that is easily scaleable.

iPad and Androids are however a bit different. So, best will be to use a set of graphics for the iOS (iPhone) another for Androids.

cheers,

?:)

views:1387 update:2011/10/25 9:10:48
corona forums © 2003-2011