0 votes

Why appears those "lines" between the tiles?
enter image description here

The size of each tile is 16x16.

in Engine by (171 points)

3 Answers

0 votes

In Project Settings --> Rendering --> Quality. Turn "Use Pixel Snap" on.

I am not 100% sure but i had a similiar issue long time ago and this helped.

by (21 points)
+1 vote

This is mentioned in the Tips & Tricks section in the Godot documentation for TileMaps. Here is the relevant quote.

If you’re using a Camera2D to scroll your level, you may notice lines appearing between your tiles. To fix this, open Project Settings and enable “Use Pixel Snap” in the “Rendering/Quality” section.

Here is an image that might help you find it.
Use Pixel Snap

by (32 points)
0 votes

Just for future people with this problem. try Importing without the filter on. my "lines" were really just a little bleed from the adjacent tiles because of the filter. I didn't event need the "use pixel snap". BTW, the "use pixel snap" setting is now in Project Settings > Quality > 2D > Snapping and is called Use GPU Pixel Snap

by (576 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.