So I decided to use the “Tutorial: Modernizing the config.lua” located at http://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/
the code they provided is this one
--calculate the aspect ratio of the device: local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { width = aspectRatio \> 1.5 and 320 or math.ceil( 480 / aspectRatio ), height = aspectRatio \< 1.5 and 480 or math.ceil( 320 \* aspectRatio ), scale = "letterBox", fps = 30, imageSuffix = { ["@2x"] = 1.5, ["@4x"] = 3.0, }, }, }
if I wanted to use this code in my config file then what sizes should my background images be? I want to make sure my backgrounds looks good on all devices, specifically on all iPhones. I will be making an app in portrait mode. Could someone please tell me the best resolution to use?