In my project directory I have a 200x200 png called “image.png” and a 100x100 png called “image@ip3.png”, along with the following config.lua:
application =
{
content =
{
width = 640,
height = 960,
scale = "letterbox",
imageSuffix =
{
["@ip3"] = 0.5
}
}
}
But display.newImageRect(“image.png”, 200, 200) always loads the 200x200 png, even when I’m running the simulator at 320x480. Strangely, if I add ["@ip4"] = 1 to imageSuffix, and rename “image.png” to “image@ip4.png”, it works as expected (the 200x200 png gets loaded at higher resolutions, and the 100x100 one gets loaded at lower resolutions). Is this a bug? [import]uid: 10327 topic_id: 3403 reply_id: 303403[/import]