0 votes

After using Tilemaps i got white lines on some of the tiles.
Enabling "Pixel Snap" helped to get rid of them while in window mode without resizing the window.

But when i resize the window or switch to fullscreen mode, those lines are back.

What can I do?

Godot version 3.2.3
in Engine by (41 points)

1 Answer

0 votes

Hey!
That happens because of the screen resolution. When you're in fullscreen, the pixels in the window doesn't exactly match the proportion of your game screen, so the tiles need to be streched a little bit.

To make them strech the way you want, you just need to change your Window Strech Mode to "Viewport", in Project Settings > Window > Mode. :P

by (56 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.