4 ms·
This is cool! I was just pondering some leisure coding on a hex-based game, and the manual for this package gives some good detail on the underlying mathematics
by theptip 4y ago
This is cool! I was just pondering some leisure coding on a hex-based game, and the manual for this package gives some good detail on the underlying mathematics for such a coordinate system.
- panzagl 4y agoSee the hex grid reference stuff here: https://www.redblobgames.com/ https://www.redblobgames.com/ for basically everything you ever wanted to know about hex grids.
- theptip 4y agoSweet, thanks. They link to a specific collection of Hex references too: http://www-cs-students.stanford.edu/~amitp/gameprog.html#hex http://www-cs-students.stanford.edu/~amitp/gameprog.html#hex