I am using retina images for my app.
It works on my iPhone, I am using newImageRect
but it won’t use the @4x images.
I placed a big X over my images on the retina version to check it.
this is my config.lua:
[lua]
if system.getInfo(“model”) == “iPad” then
application =
{
content =
{
--zoom
width =768,
height = 1024,
--scale = “zoomeEven”,
fps = 30,
imageSuffix = {
["@4x"] = 2,
}
},
{
launchPad = false,
},
}
end
[/lua]
This is my image code:
[lua]
newImage=display.newImageRect
oefening3=newImage(group,“plaatjes/hoofdmenu/oefening3@2x.png”,(115)*2,(167)*2)
[/lua]
this is the image name oefening3@2x.png for the regular one, oefening3@4x.png for the retina version.
There is no big X on the device or on the simulator.
Why is it not using the Retina images for the iPad?