Multiple Screen Content/Scaling question

Hi Corona Devs,
Do I need to have a config.lua file for every screen size I wish to support? How does that work for Android, do you need to upload several builds of your app and let the user choose their screen size? ? What happens if you have no config.lua file, what is the default and how is scaling handled?

Basically, I want to support as many screen sizes as possible with one build, I don’t care if some content bleeds of the edge. What is the best method to accomplish this? I was thinking i should build the app at the largest screen size I want to support, and then use letterbox scaling, with a background image that can bleed of the edges as required. Is that correct? In that case, would I just need one config.lua file with the largest screen size and then every other device will just scale down?

Also, I was messing around with scaling DOWN png’s in the simulator and they seem to get a little pixelated, which is odd for scaling down, is there a setting I am missing or should the png’s be produced a t a certain dpi for best results?

Thanks for the help! [import]uid: 8139 topic_id: 1863 reply_id: 301863[/import]

You set the width and height values in config.lua for the size of your app. If you design your app for 320x480, that is what you set in config.lua. You then select the scaling mode (letterbox, zoomEven) and your app will adjust itself to fix other screen sizes.

We also added a new image loader: display.newImageRect to support higher resolution images that adjust to the screen resolution of the device.
http://developer.anscamobile.com/content/configuring-projects

-Tom [import]uid: 7559 topic_id: 1863 reply_id: 6213[/import]