Hexagon grids: coordinate systems and distance calculations

Posted on December 11, 2017. Filed under: Uncategorized | Tags: , , , |

Hexagon grids: coordinate systems and distance calculations [A] poorly implemented hex grid, at the base technical level, has the potential to create massive headaches for me (the programmer) and millions of wasted CPU cycles. The reason for this is the very nature of trying to assign Cartesian coordinates to a honeycomb grid. Quite frankly, all […]

Read Full Post | Make a Comment ( Comments Off on Hexagon grids: coordinate systems and distance calculations )

Hexagonal Grids for Games

Posted on June 2, 2013. Filed under: Uncategorized | Tags: , , |

Hexagonal grids are used in some games but aren’t quite as straightforward or common as square grids. I’ve been collecting hex grid resources for nearly 20 years, and wrote this guide to the most elegant approaches that lead to the simplest code, largely based on the guides by Charles Fu and Clark Verbrugge. I’ll describe […]

Read Full Post | Make a Comment ( Comments Off on Hexagonal Grids for Games )

Liked it here?
Why not try sites on the blogroll...