Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question 2D Tiles flickering when moving

Discussion in '2D' started by nsnro, May 13, 2023.

  1. nsnro

    nsnro

    Joined:
    May 22, 2022
    Posts:
    1
    Hello all,

    So I've started having this issue with my small game. It seems there are some gaps between the tiles and they are flickering very aggressively when I'm moving. This is on Unity 2021.3.3f1.

    So I've tried re-sizing things and what not, nothing seemed to work. I did find some other posts claiming that Sprite Atlas could help, which it did, but I am curious if there is a way to make things work without the Sprite Atlas.

    Also, can I add multiple sprites at once to the Sprite Atlas or do I need to do it 1 by 1? (I'm asking this in case there isn't an alternative to Sprite Atlas)
     

    Attached Files:

  2. karderos

    karderos

    Joined:
    Mar 28, 2023
    Posts:
    376
    the only solution is create sprite atlas with padding = 2

    alternate solution, make a spritesheet and create padding yourself ( making sprite atlas by hand )