I'm too tired for my historians mind to try to find out how to calculate the tile coordinate on my map for any given mouse position. 64 by 64 pixels but it's not a square but a diamond, so about half of the 64x64 box in all four corners is not this tile and they're not even arranged neatly. Anyone with a solution?
#GameDev #SoloDev #Mathematics
@TommyvanSon …I'd use per-tile colliders because I'm incredibly lazy
@balint I consider that too, for a combo of laziness and stupidity at my part but I suspect there is that simple solution that mathematical geniuses can think of and that I can understand when I see it.