I have a game that I've created that primarily targets (and utilises the screen shape and resolution) of the iPad, but that I wish to offer as an iPhone application also. I'm aware that the pre-4 iPhone resolution is lower (as well as being a different ratio, on all iPhones) - so how do configure Corona to use lower resolution images for these iPhones?
The usual examples provided, with using the @2x in the image name, are for the opposite scenario to the above - scaling up, rather than down. As I said, I need to target the 1024 x 768 resolution (and have no black bars) on the iPad and then support the lower resolution as necessary (and have letterbox black bars) on the iPhone.
Here is what I currently have in my config file:
content =
{
width = 768,
height = 1024,
scale = "letterbox",
fps = 60
},
imageSuffix =
{
[""] = 0.5,
["@2"] = 1,
},
This doesn't work, but hopefully you can see what I'm trying to achieve.
I would imagine this sort of requirement would be a common one?
Thanks,
Bryn