I should say that I’m having trouble getting the splash (loading) screen to scale properly - Can anyone tell me what the appropriate names for (portrait only, in my case) iPad and iPhone are so that I can provide images at the correct resolution, please?
Also, I’ve been reading/testing the info on these pages:
http://blog.anscamobile.com/2011/01/dynamic-image-resolution-made-easy/
http://blog.anscamobile.com/2010/11/content-scaling-made-easy/
So, I am trying to use only 2 sets of graphics, to keep memory consumption and binary size down:
1 set of lower res graphics at 320x480 for iPhone 3 etc
1 set of high res graphics at 768x1024 for iPhone4 and iPad
I thought that if I used zoomEven scaling the images would get cropped appropriately for each device and I could simply live with putting extra content around the edges for those which would crop.
However, the problem seems to be that if I use two sets of images, the bleed area on the larger images is accounted for by Corona scaling the images down and I either get letterboxing on the sides or top and bottom, depending on the device.
I don’t want to provide the lower res graphics and have them scaled up, to fit all devices, simply because the images will look worse. I’d rather provide one huge set (for all the larger res devices) and one small set (for all the smaller devices) and just live with the cropping - that can be filled.
Should I be using something like this?..
[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
imageSuffix =
{
["_medium"] = 1.6,
["_large"] = 2,
["_xxl"] = 3,
},
},
}[/lua]
If I do, will I need to provide 4 sets of graphics? One each for iPhone, iP4, iPad and droid?
Many, many thanks in advance for any info,
Matt.
Ps: Perhaps I’m reading too much into this? [import]uid: 8271 topic_id: 7130 reply_id: 25069[/import]