Flickering lines when my player moves

Hello i’m making a 2d RPG and i made my maps with tiled but every time my character moves i get flickering and random black lines

Hi, I guess you have imported your Tilemaps from Tiled using a plugin or an importer? If you could give some details about that, that would help.

Also, you can check out the following links about making a pixel perfect game, which would help with the flickering you are getting:

hey well i used tiled2unity to import the maps

Create a new material. On the shadder section, select sprites>default. Then, check the “pixel snap” box. Apply this material to your tilemap.
Worked for me.

2 Likes

This worked perfectly for me. Thanks!