How do I scale my graphics to fit every device?
Android devices automatically scale your images to fit their devices. Test your app out by emulating different android devices with different resolutions and using your apk with that emulator.
Corona inherently scales the “content area” to the device (iOS or Android) based on the scaling method you define in config.lua. But if your question is how to have Corona automatically choose better (higher-resolution) images for HD/Retina devices, then you need to use dynamically-selected images.
This guide explains it all:
http://docs.coronalabs.com/guide/basics/configSettings/index.html
Take care,
Brent
I can’t grasp it. its too much to understand right now.
Android devices automatically scale your images to fit their devices. Test your app out by emulating different android devices with different resolutions and using your apk with that emulator.
Corona inherently scales the “content area” to the device (iOS or Android) based on the scaling method you define in config.lua. But if your question is how to have Corona automatically choose better (higher-resolution) images for HD/Retina devices, then you need to use dynamically-selected images.
This guide explains it all:
http://docs.coronalabs.com/guide/basics/configSettings/index.html
Take care,
Brent
I can’t grasp it. its too much to understand right now.