Higher Resolution @2x images with zoom/Stretch

Hello,
I am using zoomStretch in my config.lua and cannot simulatniously use the @2x suffixes.
[lua]content =
{
width = 320,
height = 480,
scale = “zoomStretch”

imageSuffix =
{
["@2x"] = 2,
},
},
}[/lua]

When the imageSuffix table is in there, the app will not zoomStretch i.e. it takes up about 1/4 of the ipad screen. I found that if i move the scale parameter to after the imageSuffix table it scales correctly but the high res images are not used.

Any ideas?

Thanks! [import]uid: 59735 topic_id: 28703 reply_id: 328703[/import]

Here is how my config.lua looks with no issues with scaling.

[lua]application =
{
content =
{
fps = 60,
width = 320,
height = 480,
scale = “zoomStretch”,
antialias = false,
xalign = “center”,
yalign = “center”,
imageSuffix =
{
["@2x"] = 2,
["@4x"] = 4
}

}
}[/lua]

Hope this helps! [import]uid: 126161 topic_id: 28703 reply_id: 115761[/import]

You might be missing a comma after “zoomStretch”. [import]uid: 93133 topic_id: 28703 reply_id: 115764[/import]

Thanks so much, it was the comma! [import]uid: 59735 topic_id: 28703 reply_id: 115818[/import]

Glad you got it fixed! [import]uid: 126161 topic_id: 28703 reply_id: 115854[/import]