Search Unity

Tile Map Flickering lines when my player moves

Discussion in '2D Experimental Preview' started by salmabambou, Apr 5, 2019.

  1. salmabambou

    salmabambou

    Joined:
    Apr 5, 2019
    Posts:
    2
    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
     
  2. ChuanXin

    ChuanXin

    Unity Technologies

    Joined:
    Apr 7, 2015
    Posts:
    822
  3. salmabambou

    salmabambou

    Joined:
    Apr 5, 2019
    Posts:
    2
    hey well i used tiled2unity to import the maps
     
  4. citizengoosevv

    citizengoosevv

    Joined:
    Jun 27, 2019
    Posts:
    11
    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.
     
unityunity