Weird flickering lines between tiles in 2d project.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CynicalKazu

I am working on a 2d Platformer game and this issue is just bugging me a lot lately. There are these weird white flickering lines between similar tiles. They randomly flicker sometimes when the player is moving or jumping. I tried re-importing my tile-set texture as “2D Pixel” with mipmapping and filter turned off to no avail. Any help will be appreciated.

1 Like
:bust_in_silhouette: Reply From: kidscancode

Enable “Pixel Snap” in Project Settings.

See Using TileMaps — Godot Engine (latest) documentation in English

Thanks! Works perfectly now.

CynicalKazu | 2019-08-19 16:48

:bust_in_silhouette: Reply From: Andy8021

Like somebody else has already mentioned. Activate pixel snap in the settings.

But sometimes (in my case) there are still further problems. I was able to solve them by switching back to GLES 2.

Thanks. I had some weird flickering too. Tiles/images flickering and showing up where they shouldn’t. Switching back to GLES2 fixed it.

Jeremy Capello | 2020-10-22 19:33