This guide will cover various ways to
make hexagonal grids, the relationships between different approaches,
and common formulas and algorithms. Hexagonal grids aren't as common as
square grids. I've been collecting hex grid resources
for over 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.
The code samples on this page are written in pseudo-code; they're meant to be easy to read and understand. The implementation guide has code in C++, Javascript, C#, Python, Java, Typescript, and more.
Continue in Reference https://www.redblobgames.com/grids/hexagons/
Also for unity, A hexagonal grid implementation based on amit's https://catlikecoding.com/unity/tutorials/hex-map/part-15/
The code samples on this page are written in pseudo-code; they're meant to be easy to read and understand. The implementation guide has code in C++, Javascript, C#, Python, Java, Typescript, and more.
Continue in Reference https://www.redblobgames.com/grids/hexagons/
Also for unity, A hexagonal grid implementation based on amit's https://catlikecoding.com/unity/tutorials/hex-map/part-15/
No comments:
Post a Comment