Hi,
I was using imageSuffix table like this in our universal iOS game:
local model = system.getInfo("model")
if model:find('iPhone') ~= nil or model:find('iPod') ~= nil then
application=
{
content=
{
fps = 60,
width = 320,
height = 480,
scale = "letterbox",
imageSuffix =
{
["@iph3"] = 1,
["@iph4"] = 2,
},
},
}
else --// ipad
application=
{
content=
{
fps = 60,
width = 768,
height = 1024,
scale = "letterbox",
imageSuffix =
{
["@ipa2"] = 1,
["@ipa3"] = 2,
},
},
}
end
This’s really handy, i could put all my graphics in one place
But i noticed that i can not use this method any more in a newer build
After made some research, i found that Corona will alway treat images with no suffix as 1 time scale, e.g imageForNotRetina.png, and image name like imageForNotRetina@iph3.png or imageForNotRetina@ipa2.png will be ignored.
Is that true? why this changed?
Thanks
Sun JiaJie [import]uid: 74676 topic_id: 30413 reply_id: 330413[/import]