Any advice/examples how I would setup a config.lua file? The requirements would be:
a] scale up/down as required to match the vertical top/bottom
b] then horizontal scaling would be just set to that obtained from (a) above
Note: In addition to this there would be dynamic-image selection.
BACKGROUND:
* Have a horizontal scrolling game I’m working on
* Using normal scaling approach however I don’t really like the black bars on the left you get for iPhone5 for example. It just kind of feels clunky.
* Would like to basically have same approach, but with the ability to work out to each horizontal end for the device, so for iPhone 5 use up all the space for example
* Would need to then have wide enough images to cover the possibilities, and then be careful how I position items in a relative fashion, however the end result should be better
Current config.lua I have (for interest - don’t think you need this however):
application = { content = { fps = 60, width = 352, height = 512, scale = "letterbox", xAlign = "center", yAlign = "center", imageSuffix = { [""] = 0.8, ["\_2"] = 1.6, ["\_3"] = 4 } } }