Hello everyone.
I just joined the Crown but it is a bit that lua study. I wanted to know quele is the best way to create my Aplications. I refer in particular to config I read the guide but they are still undecided between these two:
Config1
application = { content = { width = 320, height = 480, scale = "letterBox", fps = 30, --[[imageSuffix = { ["@2x"] = 2, ["@4x"] = 4, }, --]] }, }
Config2:
local aspectRatio = display.pixelHeight / display.pixelWidth application = { content = { -- graphicsCompatibility = 1, -- Turn on V1 Compatibility Mode width = aspectRatio \> 1.5 and 800 or math.ceil( 1200 / aspectRatio ), height = aspectRatio \< 1.5 and 1200 or math.ceil( 800 \* aspectRatio ), scale = "letterBox", fps = 30, imageSuffix = { ["@2x"] = 1.3 }, }, }
There is no way to be able to use both widths and heights in the same project? I would try to uttilizzarle together.
thank you so much