Strange graphical tile artifacts.
Monkey Forums/Monkey Programming/Strange graphical tile artifacts.
| ||
Hello all. Not sure this is the right forum... I recently updated my android tablet to the latest version of android, and my game started to have graphical border lines around all my tiles. Now i think this might be what someone call padding, but i never had it before. What can i do to prevent it? I am using monkey version 73.b and the usual android sdk and such (not updated them) and everything has been always the same apart from the android update to 4.3. No idea what to do, completely blank here. |
| ||
Are you using Autofit or something else like that? |
| ||
http://www.monkeycoder.co.nz/Community/posts.php?topic=1234 http://www.monkeycoder.co.nz/Community/posts.php?topic=2134 |
| ||
Yes i was using autofit. Strange that never happened before, was i being lucky or it just happen at random depending on devices? Btw padding solved the issue, thanks for pointing it out. |
| ||
Do you have to manually pad the images in photoshop or whatever (could take ages) or with a special app, or do you just need to set the padding params when loading the image in? The 2nd link by zoqfotpik has a post by Mark Sibly where he seems to be saying the actual image needs to be padded and loaded in with a wider width param (if just padding x) |
| ||
I usually just leave a 2 pixel "transparent border" around images (of course, all power of 2) - that is, if you're using transparency or multiple frames in a single image. |
| ||
yeah I can do that easily enough and do it for my Bmax game too. |