Archive 17/01/2023.

Tile maps: Seeing neighbor tiles

Conqueror

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 ?

Modanung

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>
Modanung

…and welcome to the forums! :slight_smile: