1
Graphics / Re: Using View and TextureRect: pixel line glitch
« on: May 18, 2014, 01:19:20 pm »
After lots of research, I identified two methods:
One, on a low level apply an absolute offset of 0.375. This was kinda hard for me, because of the whole C# / C++ port thingy.
Second, insert padding between sprites. If they aren't tiled, insert transparent pixels. If the sprites should tile, insert a 1px line of the other side of the tile.
Usin the latter approach, I just had to modify a couple of lines of code and all my graphics (which indeed was kinda fiddly, but worthwhile). Hope this will save you some headaches
One, on a low level apply an absolute offset of 0.375. This was kinda hard for me, because of the whole C# / C++ port thingy.
Second, insert padding between sprites. If they aren't tiled, insert transparent pixels. If the sprites should tile, insert a 1px line of the other side of the tile.
Usin the latter approach, I just had to modify a couple of lines of code and all my graphics (which indeed was kinda fiddly, but worthwhile). Hope this will save you some headaches