A library to manage 2D hexagonal tiles in Unity.
The repository contains an API to create, find and store data inside a hexagonal board using Unity Tile Maps and the math described by redblob & references.
A few reasons why I made the project:
You can find below images that illustrate the functionalities and an overview of the system's implementation.
Feel free to use this tool. Any kind of feedback or credit is well appreciated.
Playable demo here
Diagonals | Horizontal |
---|---|
Neighbours | Tile Orientation |
Add Objects | Remove Objects |
<!--- | Hover |
The interface menu to interact with the board data and test the operations.
I split the board implementation in three distinct parts:
There are two different Coordinates to manage, the Hex and Offset.