What is the best way to set up a Config file for all the different devices. I currently have it set with a width of 320 and a height of 480 scaled to letterbox. It works great for my game but not so well for my UI. When I try placing UI elements in the corners of the screen using display.contentHeight and display.contentWidth, they don’t appear in the same location on all the devices. Is there a way to bypass this and get the true device height and width? Or have a universally working config file?
[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
xAlign = “left”,
yAlign = “top”,
fps = 30,
antialias = true,
},
}[/lua] [import]uid: 54716 topic_id: 10413 reply_id: 310413[/import]