Tile gaps can be frustrating especially if you have a lot of sprites you have to work with
Creating a beautiful game isn’t easy but it’s very rewarding. Today, the popularity of pixel art is on the rise and understandably so because they’re so cute!
I have been using Unity to make a game (eventually) and there’s definitely a lot of learning to do.
While working with pixel tiles, I noticed there are gaps in-between each tiles. I’ve searched for hours on how to fix this. Some videos I found online are suggesting to make the tiles a little bigger by editing it in Photoshop. I was like, there must be a better way.
I played around with unity and eventually found a way to fix this.
Under your Project, select the sprite sheet you are using as your tile set.
Then in the inspector under Pixels Per Unit, change it to less than 0.10 from it’s original unit size.
For example, if your tile is 48 x 48, change it to 47.90 x 47.90
When you re-paint the tiles again, the gaps are gone like magic!