I could be wrong but those look like artifact lines caused by the OpenGL interpolation method Corona uses. (Note that the lines aren’t 0,0,0 black and that the screenshot provided is much bigger than 320x480) This will happen regardless of using different sheets.
Since we don’t have nearest-neighbor support (yet…please :), the only way to fix it is this:
-
Expand your tilesheet so every tile has a 1px border around it. (That means 2px between each tile since each one gets a 1px border)
-
Copy the edge of each tile into the border. (so the last px on each side is now two wide or two tall) I believe TexturePacker can do this automatically provided you set it up right and own that tool.
-
When using graphics.newImageSheet() you need to set border=1 in options, so it knows not to look at the center of each tile. Tile size should match the original, while the sheet size should reflect the new size.
This process can definitely be a hassle but it does eliminate all edge artifacts from scaling. (If you want the inside of each tile not to look blurry, though, you’ll need to make @2x assets as well) [import]uid: 41884 topic_id: 34510 reply_id: 137394[/import]