Hi,
First time on this board… I couldn’t find a search function so hopefully this wasn’t already addressed.
I’m doing a very simple app… for now, it layers a series of identically sized pngs on top of each other in the center of the screen. My original image size is 2000x2000 – I wanted to go larger than any current device supports so when there’s a retina display for the iPad (someday), this app would still look great. The objects should scale so they just fit in the center of the screen. (I wanted to make sure all images were scaled down rather than up.)
I tried various combinations of numbers in the config.lua file, but the closest I found to what I want is:
application =
{
content =
{
width = 1024,
height = 1024,
scale = “letterbox”
}
}
But I’m not finding a proper setting for the config.lua file that scales the objects properly for all hardware types. It works fine for iPad and iPhone 4. But for iPhone and all the Droid versions, the image is scaled to 1/4 size and is positioned near the upper left.
Shouldn’t this work, or is this a possible bug? It seems that if I’ve set up my images for a 2000 pixel wide screen, then I should be able to use width=2000 and height=2000 and all the rest should scale properly.
I went back and tried resizing all images to 768x768, but that didn’t help the problem.
So, is there a bug?
Let me know if you need to play with my project files to resolve this.
Thanks,
David
[import]uid: 9905 topic_id: 2631 reply_id: 302631[/import]