Is there any API for it?
My original need was just add a displayable custom property for tile, also for empty tile. So I make a object layer for it, but the coordinates between them was quit differentce.
Is there any API for it?
My original need was just add a displayable custom property for tile, also for empty tile. So I make a object layer for it, but the coordinates between them was quit differentce.
You can convert from tile coordinates to pixel coordinates (for positioning objects) using tileToPixel
, and the other way around using pixelToTile
. Does that help?
Yes, that’s it. Thank you kindly.