Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Flickering lines when my player moves

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

Thread Status:
Not open for further replies.
  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:
    1,068
  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.
     
    nhvu98 and Chizambers like this.
  5. Chizambers

    Chizambers

    Joined:
    Jan 5, 2012
    Posts:
    7
    This worked perfectly for me. Thanks!
     
Thread Status:
Not open for further replies.