mastodon.gamedev.place is one of the many independent Mastodon servers you can use to participate in the fediverse.
Mastodon server focused on game development and related topics.

Server stats:

5.4K
active users

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?

@TommyvanSon …I'd use per-tile colliders because I'm incredibly lazy

Tommy van Son ✔

@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.