I am trying to get my iPhone app to automatically scale to the iPhone’s 5 resolution, I have gotten this to work by editing my config.lua file: (see below) However when Corona scales the image, it uses the original 320 x 480 image not my retina images (960 x 640) How can I change the config file so that the dynamic scaling uses my “@2x” for scaling instead of just the base lowest resolution image?
[lua]–config.lua
if display.pixelHeight > 960 then
application =
{
content =
{
width = 320,
height = 480,
imageSuffix =
{
["@2x"] = 2,
},
},
}
else
application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
imageSuffix =
{
["@2x"] = 2,
},
},
}
end
[import]uid: 170397 topic_id: 30998 reply_id: 330998[/import]