Hey guys,
I am trying to figure why the Corona simulator seems to not trigger the tall iphone 5 but the Mac xcode IOS simulator do?
It seems that the Corona simulator (both PC and Mac) do not load the high res images (@2x) but the IOS simulator do. Since I do not have a iphone 5 device to try it on I cannot tell if my app is really compatible with the iphone5. I would assume that if the IOS simulator shows the app is ok on the iphone 5, it will be good on a real device but it is just an assumption on my part.
Any suggestions?
Thanks guys.
Mo
Here my current config.lua Please note that I had to leave the iPad dimension the same a iphone because if not the most images are shown very small ( width = 320,height = 480)
[lua]local targetDevice = ( system.getInfo( “model” ) )
local isTall = ( “iPhone” == system.getInfo( “model” ) ) and ( display.pixelHeight > 960 )
if isTall == false and targetDevice == “iPhone” then
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
fps = 30,
antialias = false,
audioPlayFrequency = 44100,
xalign = “center”,
yalign = “center”,
imageSuffix =
{
["@2x"] = 2,
},
},
}
elseif isTall == true then
application =
{
content =
{
width = 320,
height = 568,
fps = 30,
antialias = false,
audioPlayFrequency = 44100,
xalign = “center”,
yalign = “center”,
},
}
elseif targetDevice == “iPad” then
application =
{
content =
{
width = 384,
height = 512,
scale = “letterbox”,
fps = 30,
antialias = true,
audioPlayFrequency = 44100,
xalign = “center”,
yalign = “center”,
imageSuffix =
{
["@2x"] = 2,
},
},
}
end[/lua] [import]uid: 100814 topic_id: 32638 reply_id: 332638[/import]