cool! Your config does cover the all screen BUT in my case, all my assets are zoomed when I use your config. I am using ipad (1024/768 landscape) but also want to target iphone4,4s,5 and ipad2,3,4 Right now I am using:
[lua]
application =
{
content =
{
width = 768,
height = 1024,
xAlign = “center”,
yAlign = “center”,
scale = “letterBox”,
antialias = false,
launchPad = false,
audioPlayFrequency = 44100,
fps = 60,
imageSuffix =
{
["@2x"] = 1, – for iPhone, iPod touch, iPad1, and iPad2
["@4x"] = 2, – for iPad 3, ipad 4
},
},
}
[/lua]
EDIT 1: If I use: (my base screen is 768/1024 (landscape)
width = 768 * (display.pixelHeight/display.pixelWidth>1.5 and 1 or 1.5/(display.pixelHeight/display.pixelWidth)),
height = 1024 * (display.pixelHeight/display.pixelWidth<1.5 and 1 or (display.pixelHeight/display.pixelWidth)/1.5),
The assets are back to normal but then the Chartboost gray area won’t cover the all screen anymore…
EDIT 2: using this:
width = 640 * (display.pixelHeight/display.pixelWidth>1.5 and 1 or 1.5/(display.pixelHeight/display.pixelWidth)), height = 960 * (display.pixelHeight/display.pixelWidth<1.5 and 1 or (display.pixelHeight/display.pixelWidth)/1.5),
It seems to be better (not perfect) but at least I do not get a zoom effect AND the Chartboost covers the all screen. I can see I need to re-adjust some of my assets but most of them are fine (i.e.: buttons…)
THANKS!!!