Hello,
I have 3 images one regular named one one with @2x and one with @4x.
I want the ipad to use @2x as the base image and the @4x as the retina image.
Can I use the regular filename without the @2x and have the config.lua add the @2x if scale==1
["@2x"] = 1
It works for the @4x, but it keeps using my base image as the image for the regular ipad.
I really don’t want to duplicate all the @2x and rename them -ipad instead of having the @2x. This will result in more images and is just a dumb solution.
[lua]
if system.getInfo(“model”) == “iPad” then
application = {
content = {
width = 768,
height = 1024,
scale = “letterbox”,
fps = 30,
imageSuffix = {
["@2x"] = 1,
["@4x"] =2,
},
{
launchPad = false,
}
}
}
end
[/lua]