More Work on tileset


Today I have been working further on the tile sheet. To simplify it, I removed the rocky parts from the tiles and instead put them as separate tiles in the tile sheet.

Unfortunately there is a bug in unity that makes a small gap between tiles sometimes when using a smooth camera. The reason for this bug is floating point errors between the positioning of the tiles and the position of the camera.

 To solve this issue, I made the resolution of the individual tiles in the sheet 34x34 instead of 32x32 which they were before. The extra pixels are placed around the already drawn 32x32, and are simply a copy of the pixels next to them. The final sprite sheet then looked like this:



The problem and the solution for this problem is well described in this video:

Kommentarer

Populära inlägg i den här bloggen