#Visualize a TileMap Grid
4 messages · Page 1 of 1 (latest)
I was able to get lines on the screen using _draw() and draw_line(), but the tiles cover some of the lines. I am not sure if this is the best way to do it.
Maybe draw them above the tiles and offset them by 0.5 pixel
Thanks! I was having issues getting it to be drawn in front, but realized the parent node (where my script was) was always being put behind the child (tilemap). Changing that and updating the pixel offset by 0.5 made a big difference