Screen resolution 1024x768 on the Corona Simulator

Hi All! Is there a way to play with the simulator using 1024x768?
My company is developing an app targetted on iPad2, and the simulator only has the 384x512 resolution. That’s bothering me because all images that I have are built for a 1024x768 screen.

Looking forward to hear from you!
[import]uid: 86439 topic_id: 23691 reply_id: 323691[/import]

What about using the iPad skin?
In the Corona Simulator choose Window->View As->iPad
[import]uid: 70847 topic_id: 23691 reply_id: 95180[/import]

Window -> View As -> iPad

Hardware -> Rotate (Left/Right)

Window -> Zoom In [import]uid: 44647 topic_id: 23691 reply_id: 95193[/import]

Hi! Thank you very much for getting back to me.
I must be missing something, somehow. I knew the iPad view already, and that’s NOT a 1024x768 view.

Here it is the picture that I load on startup.
http://www.vortika.com/CoronaSDK/background_384x512.jpg
As you can see I put a red border around it.

Here it is what I get running my code, using the iPad view.
http://www.vortika.com/CoronaSDK/ipad_view.jpg

And here it is the code:

display.setStatusBar( display.HiddenStatusBar )
local halfW = display.contentCenterX
local halfH = display.contentCenterY
local bkg = display.newImage(“background_384x512.jpg”, true)
bkg.x = halfW
bkg.y = halfH
Please notice that the iPad view doesn’t even show the red border of the picture, so the real display resolution of the emulator is not 384 x 512.

What the hell am I doing wrong? :wink:
[import]uid: 86439 topic_id: 23691 reply_id: 95708[/import]

The iPad skin is actually 1024x768, however you’re the “victim” of Corona’s dynamic content scaling.

Change your config.lua to something like this:
[lua]application =
{
content =
{
width = 768,
height = 1024,
scale = “letterbox”
}
}[/lua]

Then you’ll see your image is scaled properly to iPad dimensions.
[import]uid: 70847 topic_id: 23691 reply_id: 95711[/import]