Until now, every time I make new images for my app I make one version that works with iPad 1&2 and all iPhones. But I also make one version that is twice as big in case of an iPad 3 with retina display (which was true ). The normal images I just named myImage.png and the other ones myImage@2x.png. My config.lua file is set to width = 768, height= 1024, scale = “zoomEven”. It has worked fine on all devices, except the new iPad. All previous devices uses the standard images and none uses the bigger ones. What is the best way to make the new iPad the only device that uses the bigger images? [import]uid: 24111 topic_id: 23464 reply_id: 323464[/import]
Hi there,
Should be as simple as adding that suffix to your app’s “config.lua” file…
content =
{
imageSuffix =
{
["@2x"] = 2.0
}
}
However, it’s possible that Apple has “reserved” the “@2x” suffix for iPhone4/iPad, which your app is already targeting to. I don’t use that suffix personally (I go with _1, _2, _3 for older iPhone/Touch, iPhone4/iPad1&2, and iPad3 respectively). If the method above doesn’t work, you might need rename all of your iPad3 images to something like “@4x” or something.
Remember that Corona doesn’t lock you into Apple’s suffix conventions for image scaling; you could even append “_THIS_IS_FOR_IPAD_3” to all of your supersized images, and put that in your config.lua file.
Hope this helps! Also keep in mind that Ansca is working full speed ahead toward fixing a few post-release issues with the iPad3, so you might want to wait a few more days until the dust settles.
Brent
[import]uid: 9747 topic_id: 23464 reply_id: 94086[/import]
Tried this but everything gets super zoomed in. At least in the Xcode iPad Retina simulator. [import]uid: 24111 topic_id: 23464 reply_id: 94091[/import]
hi, check this forum thread, if you already haven’t found it, it’s very important:
http://developer.anscamobile.com/forum/2012/03/16/ipad-retina-update
[import]uid: 80100 topic_id: 23464 reply_id: 94102[/import]