Newbie question about images appearing too small on iphone 4

I have packaged my test app for the iPhone and it includes an image that is 960 x 640 pixels and 326 pixels per inch. When I test this in the Simulator it fills the entire screen however when I build for my iPhone 4, it appears to only fill about a quarter of the screen.

Any ideas?

When building I select the only option (iOS 4.0 (3.0 compatible)

I have the bought version of the Corona SDK. This is just the standard SDK - not the game edition.

In the organizer in Xcode it says my iPhone software version is 4.0.1

Any help much appreciated.

Thanks

Paul [import]uid: 7863 topic_id: 2203 reply_id: 302203[/import]

Are you using a config.lua file, if so what does it say? See http://developer.anscamobile.com/content/configuring-projects#Dynamic_Content_Scaling for the valid options that affect the images. Also, when loading the image, you may want to use the isFullResolution flag. [import]uid: 54 topic_id: 2203 reply_id: 6685[/import]

Thanks Eric

I wasn’t using a config.lua file however I am now after reading that article.

I am not 100% clear though on a few things.

If I want to make a game for the iPad, the iPhone 4 and the other iPhone models, what should I do in terms of graphics and coding?

Do I create 3 separate sets of graphics?

How should I go about coding it? i.e do I code as if it is the iPad dimensions and if played on an iPhone, it will rescale everything? Or do I need to code it separately for all 3 screen dimensions?

Thanks

Paul [import]uid: 7863 topic_id: 2203 reply_id: 6703[/import]