I have been developing an app for cross platform use on the android and iphone. I have been developing on a windows machine so I have been using the android simulator. I just tested my code on a MAC and in the iphone simulator. The code works great, no errors but the display is all over the place. I understand this is because the different dimensions of the two devices. How do I change my code so that it will scale for which ever device it is on? The app is default to landscape mode and here is my config file:
[lua]application = {
content = {
width = 320,
height = 480,
scale = “letterBox”,
fps = 30,
–[[
imageSuffix = {
["@2x"] = 2,
}
–]]
}
}[/lua]
Thanks [import]uid: 152084 topic_id: 27253 reply_id: 327253[/import]