Hello.
I have built a parser for Tiled to use in my SFML 2.1 Game.
All of the tiles used comes from a tileset where every tile is 64x64.
I use sf::IntRect to get the correct tile position from the tileset.
This works very good until I stumbled upon a problem where my texture would gap 1 pixel down like this:
The blue one is the player with its origin in middle and he is also in the middle of a viewport. Those orange lines shows then and then and I dont really know what's the problem. But the things is, the orange tile lies under the blue tile on my spritesheet. I guess it has something to do with that.
Does someone have a similar problem? I really want this to work since we have and will put much effort into making this a cool game.
My code is here:
http://pastebin.com/UXSGx52m