0
\$\begingroup\$

Gaps between tiles in a grid

The texture itself doesn't have any gaps in it. I don't know where these gaps are coming from. Someone suggested that I check if the sprite sheet's cell size and padding are correct. When I checked I couldn't see any such option in Godot. Can someone kindly explain?

\$\endgroup\$
3
  • 2
    \$\begingroup\$ Are these really gaps or just the visual indicators for a cell size? \$\endgroup\$
    – Zibelas
    Mar 26 at 14:10
  • 1
    \$\begingroup\$ Knowing more about how you are trying to use the spritesheet would help - some of the Godot UI is context dependent and changes based on what sort of Node you're working with. Are you trying to use a Tileset node, or something else? It might not matter, but specifying the version of Godot may also make a difference. \$\endgroup\$
    – Pikalek
    Mar 26 at 14:53
  • \$\begingroup\$ I'm not sure how you got this result... Do you have a single file that Godot split, or are these multiple files? Anyway, it seems to me that the size configured in the tilemap is larger than the tiles, and setting it to match the tiles would solve it. Aside form that, do you want to scale the tiles? in that case, I think afterwards you can scale the tilemp as a whole. \$\endgroup\$
    – Theraot
    Mar 27 at 4:37

0

You must log in to answer this question.

Browse other questions tagged .