SFML community forums

Help => General => Topic started by: Mortal on March 26, 2016, 12:11:05 pm

Title: tilemap glitching[Solved]
Post by: Mortal on March 26, 2016, 12:11:05 pm
hello,
i have been working on simple exercise on tilemap for 2d platformer but i have experienced some frame glitching. i have no idea what cause this issue.

could someone please help me in this issue. or atleast point me to what is really cause it.

source code:
(click to show/hide)


resources is available in git
https://github.com/MORTAL2000/sfml-examples

Title: Re: tilemap glitching
Post by: Mortal on March 26, 2016, 02:06:23 pm
it solved

the trick is to add half pixel in texCoord to avoids the artifacting when scrolling. i get it from tmxloader source code

thanks fallahn millions