Hi,
Our pixel-art game is using a 240x160 letterBox scaled config
application = { content = { width = 160, height = 240, antialias = true, scale = "letterBox", xAlign = "left", yAlign = "top", fps = 60 } }
But we have a problem with the scaled pixel-art images in the game on some devices.
Some pixels within the images have different dimensions. Such as some pixels are 8x8 real pixels, and some are 8x9 and some are 9x8 and some are 9x9
For example when we have this image below
It is scaled like this in the simulator:
In the simulator image you can clearly see the height of the light blue bars are not the same at all, and lots of other pixels are not the correct size. This happens with a lot of stuff in our interface.
Can someone explain me how this happens or can give me tips how to fix this problem
Thanks in advance!
PS. I use nearest neighbor scaling