Hi Ignacio,
Consider calculating your suffix scale values using some formulas like those below, which I borrowed from one of my projects. Of course you’ll need to adjust things (and the calculations/divisions) based on your content scale, not 704x1024.
Brent
[lua]
application =
{
content =
{
fps = 60,
width = 704,
height = 1024,
scale = “letterbox”,
xAlign = “center”,
yAlign = “center”,
imageSuffix =
{
– [""] = 0.8,
--Galaxy / K.Fire1 / Nook | 600(deviceWidth)/704 = 0.8523
--iPhone4 / iPod-4 / iPhone5 | 640(deviceWidth)/704 = 0.9091
--iPad1/iPad2 | 1024(deviceHeight)/1024 = 1.0000
--Samsung S3 | 720(deviceWidth)/704 = 1.0227
--K.FireHD / Nexus7(1) | 800(deviceWidth)/704 = 1.1363
--iPhone6 | 750(deviceWidth)/704 = 1.0653
["-3"] = 1.5
--Samsung S4 / iPhone6 Plus | 1080(deviceWidth)/704 = 1.5341
--K.FireHD-9" / Nexus7(2) | 1200(deviceWidth)/704 = 1.7045
--iPad3 | 2048(deviceHeight)/1024 = 2.0000
--Nexus10 | 1600(deviceWidth)/704 = 2.2727
}
}
}
–print(1/display.contentScaleX, 1/display.contentScaleY) --put this into main.lua to return value for device
[/lua]
Brent