Hi everyone.
I downloaded the code created by ansca mobile about the dynamic resolution, and i have a issue.
I have the same configuration on the config.lua and i am using the same code to create a background with dynamic resolution.
local myImage = display.newImageRect( "hongkong.png", 200, 200 )
myImage.x = display.contentWidth / 2
myImage.y = display.contentHeight / 2
the configuration on the config.lua is:
application =
{
content =
{
width = 320,
height = 480,
scale = "letterbox",
imageSuffix =
{
["-x15"] = 1.5, -- A good scale for Droid, Nexus One, etc.
["-x2"] = 2, -- A good scale for iPhone 4 and iPad
},
},
}
i am using it, and my images have the same name, everything is equal, the only difference is, my background image for the iphone, have 320x480 and for the iphone 4 have 640x960, and the images created by ansca have 200x200, 300x300 and 400x400, i cant use my resolutions? Should use only the same resolutions used by ansca?
Thanks [import]uid: 26056 topic_id: 23206 reply_id: 323206[/import]