Is there a way for auto-scale to not scale certain kind of resolution?

Hi,
Dealing with multiple resolutions and screen ratios is a horrible process. Auto-scale feature helps this but to a certain point.

I was trying to make sure my app can handle every resolutions but not all of them can be taken care of, I was wondering is there a way for auto-scale to work something like this :

Let’s say the default app screensize is 1024x768, anything below it or anything above it up to 1280x800 : don’t scale them.

but bigger than that : 1920, 2048 or god knows what’s gonna come up next year… just use auto scale as i can no longer afford to provide every art possible.

Is this possible?

Thanks [import]uid: 76697 topic_id: 35356 reply_id: 335356[/import]

If you look at this graphic:

which is from the blog post on the ultimate config.lua file (http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/)

It illustrates how the different shape screens can be serviced with a single background image. The iPads are wider than the other screens, where as the iPhone 5 and Androids are taller than the core 320x480 screens. By making your background big enough to fill the other areas, which the magic number happens to be 570x360. So if you’re targeting 1024x768 devices, then make your backgrounds are 1280x800 (and load them at that size: display.newImageRect(“background.jpg”, 1280, 800) then the background would fill every device (no black bars with letterBox scaling) and Corona will scale it up for larger devices or down for smaller devices.

[import]uid: 199310 topic_id: 35356 reply_id: 140553[/import]

If you look at this graphic:

which is from the blog post on the ultimate config.lua file (http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/)

It illustrates how the different shape screens can be serviced with a single background image. The iPads are wider than the other screens, where as the iPhone 5 and Androids are taller than the core 320x480 screens. By making your background big enough to fill the other areas, which the magic number happens to be 570x360. So if you’re targeting 1024x768 devices, then make your backgrounds are 1280x800 (and load them at that size: display.newImageRect(“background.jpg”, 1280, 800) then the background would fill every device (no black bars with letterBox scaling) and Corona will scale it up for larger devices or down for smaller devices.

[import]uid: 199310 topic_id: 35356 reply_id: 140553[/import]