Tile maps: Seeing neighbor tiles


#1

Hi

I’m new with Urho3d and I’m making test on a 2D game.

For the test I use the 36_Urho2DTileMap example.
I changed the tileset but I can see the neighboring border tile.

Screenshoot :


TMX file : http://pastebin.com/7BBhfMKK

Test tiletest : http://opengameart.org/sites/default/files/snow-expansion.png

How I can solve it ?


#2

From the documentation on Urho2D:

You need to create an XML file in the same folder as the texture, with the same name (but ending in xml) containing:

<texture>
    <filter mode="nearest" />
</texture>

Sprite/Texture Nearest Neighbour Filtering
#3

…and welcome to the forums! :slight_smile: