Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice

Tile Map 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:
    912
  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.
     
    Chizambers likes this.
  5. Chizambers

    Chizambers

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