I'm trying to make the settlers of catan game for scratch. I've made the maps load randomly so now I need a way to have the settlements and cities snap into the corners of each hex.
I don't know how to do this without making tons of new sprites for each individual corner.
Is there a way to do this in one, two, or three sprites?
Offline
bullelk12 wrote:
I'm trying to make the settlers of catan game for scratch. I've made the maps load randomly so now I need a way to have the settlements and cities snap into the corners of each hex.
I don't know how to do this without making tons of new sprites for each individual corner.
Is there a way to do this in one, two, or three sprites?
That's a difficult grid to snap to...I'll see if I can find an engine that could do that but...it'll be math heavy probably.
Offline
Darthpickley made a Minesweeper project that uses a hex grid. Maybe you could see if any of his method would work for your purposes?
Offline
I got exactly what you're looking for. (link to project)
It's quite similar to yours, surprisingly.
Offline