hex-engine-example-hexagon-grid

Example of rendering and interacting with a hexagonal grid in hex engine.

Stars
7

@hex-engine/2d hexagon tile grid demo

This is an example repo showing how to create a grid of hexagon tiles in Hex Engine. The hexagon tiles change color when clicked on.

Big thanks to this post by red blob games for a nice breakdown of how to model and draw hexagonal grids.

Usage

To run a development webserver for your game locally:

npm start

To build a production version of your game for redistribution:

npm run build