Have you read up on this too?
http://blog.anscamobile.com/2010/11/content-scaling-made-easy/
And… here’s my config.lua (in current state, which may change over time):
[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “letterbox”,
xAlign = “center”, – center is the default, so if center is desirable, this line can be removed
yAlign = “center”, – center is the default, so if center is desirable, this line can be removed
fps = 30, – only other choice is 60 fps. 30 is the default, so if 30 is desirable, this line can be removed
– antialias is false by default, which will greatly improve performance of vector objects,
– and should make little visual difference on the latest high-dpi devices.
antialias = false,
imageSuffix =
{
["@2x"] = 2,
["@3x"] = 3,
},
},
}[/lua]
I’m no expert, but reading all relevant materials & documentations that I could find on Ansca site (including APIs, Docs, blog posts and forum posts) enabled me to get my game to support Retina Display & Dynamic Image Resolution (except for spritesheet). I hope you will be able to make headway too.
Good luck!
[import]uid: 67217 topic_id: 15881 reply_id: 59352[/import]