Hi,
I’ve read the following articles:
http://www.coronalabs.com/blog/2011/01/27/dynamic-image-resolution-made-easy/
http://www.coronalabs.com/blog/2012/12/04/the-ultimate-config-lua-file/
But the first seems really outdated and the second might not actually work for my game. The second does sound great though, being able to use most of the screen on most devices.
My concern is with the positioning of objects if I use Rob Miracle’s config.lua. My game will have a background image, and on top of it, objects will be placed in key places of that background. This does not seem like it would work, would it?
I’m currently using something simple like this:
application = { content = { --width = 768, height = 1024, -- iPad Retina --width = 640, height = 960, -- iPod 4 Retina width = 640, height = 1136, -- iPod 5 scale = "letterBox", --scale = "zoomStretch", fps = 30, imageSuffix = { ["@1.5x"] = 1.5, ["@2x"] = 2, ["@4x"] = 4, } },
Which as you can see, I’ve been trying several configurations.
I was just wondering what the best way to do this is. Should I use the iPod5’s resolution as the base, or should I use something like 320x480 like the first article suggests?
Or maybe there’s a way to use Rob Miracle’s config.lua with my positioning requirements.
Any direction would be greatly appreciated.