What is causing this TileMap bug?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By kins
:warning: Old Version Published before Godot 3 was released.

I followed the documentation’s TileMap tutorial and ended up encountering this odd editor bug. I’ve Google’d and even redid the tutorial with no luck. The best way to explain it is to show you, so I recorded a quick video and made it into this gif. Any ideas what I did wrong?

https://gfycat.com/gifs/detail/IdioticIndelibleCalf

I edited the post because your gif didn’t show up

Zylann | 2017-08-23 00:07

:bust_in_silhouette: Reply From: Zylann

Your tile is offset when you place it because you probably created your tileset with an offset sprite. You should make sure all tiles in your tileset scene are all sprites, with centered texture (or centered sub-rectangle). If it’s not that, then we would need to see how is your tileset scene setup.

I thought it had something to do with this but wasn’t sure. Let me change that and I will report back.

Thanks!

kins | 2017-08-23 12:43

That worked! Thanks!

kins | 2017-08-23 12:55