Forum
CS2D Maps/Editor How to discover the X and Y Coordinates in Editor?How to discover the X and Y Coordinates in Editor?
2 replies 1
math.floor(tile * 32 + 16 = pixel) math.floor(pixel / 32 - 16 = tile)
You get the tiles in the editor.
1
math.floor(tile * 32 + 16 = pixel) math.floor(pixel / 32 - 16 = tile)