- Home /
Fix for offset tiles in tilemap and palette
Using Unity 2018.2.0f2 (64-bit) I have a 32x32 tileset that I am using. I have laid down a tilemap and created a new palette. The palette is offset and the selection grid is 16 pixels higher and to the left of the actually selected tile, but when placing it into the world they are also offset 32 pixels down (supporting images attached).
I would like to get this corrected so that my palette selection is at the exact same level as what I am painting as well as also having the tiles be painted at the correct point on the tilemap. Any assistance is greatly appreciated.
I am relatively new to working with tilemaps and the 2D system.
Offset Palette selection:
Offset Tilemap Painting:
Settings:
Tilemap:
Animation Frame Rate: 1
Tile Anchor: 0,0,0
Orientation: XY
Tilemap Renderer:
Sort Order: Bottom Left
Detect Chunk Culling: Auto
Sorting Layer: Default
Order in Layer: 0
Mask Intersection: None
Thank you everyone
Answer by DevilfishGames · Jul 18, 2018 at 03:49 PM
After some playing around a bit more I found that I had to put the sprite sheet on center and then give the tilemap and palette a Tile anchor of Y 1. This seemed to have fixed my problem