Hi guys,
I am little confused here and would appreciate your hint
If I want to make config.lua like this ( Landscape orientation ):
-- 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, }, }, }
build.settings
settings = { orientation = { default = "landscapeRight", }, iphone = { plist= { UIStatusBarHidden=true, }, }, --plugins = -- { -- ["CoronaProvider.ads.iads"] = -- { -- publisherId = "com.coronalabs", -- supportedPlatforms = { iphone=true, ["iphone-sim"]=true }, -- }, -- }, }
What size of background images (static - not parallax) should I use?
I.e., what background dimension I should have for: Â .png, @2x.png and .@4x.png?
I am aiming at iStore at first, and afterwards Android.
Tnx