Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: tilemap glitching[Solved]  (Read 1395 times)

0 Members and 1 Guest are viewing this topic.

Mortal

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
tilemap glitching[Solved]
« 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

« Last Edit: March 26, 2016, 02:18:07 pm by MORTAL »

Mortal

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
Re: tilemap glitching
« Reply #1 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