There’s an issue when adding xAlign = “center” yAlign = “center” (or left, right, top, bottom for that matter) to the config.lua.
config.lua looking like this:
application =
{
content =
{
width=320,
height=480,
fps = 30,
scale = "letterbox"
xAlign = "center"
yAlign = "center"
},
}
When adding xAlign and yAlign, the width and height no longer correspond to the size defined in the config file but automatically sets itself to width=640, height = 960.
You can try this in any of the tutorials/demos using Lime by just adding the xAlign / yAlign to config.lua.
[import]uid: 129287 topic_id: 24173 reply_id: 324173[/import]