Hexagonal Grid Utils screenshot 1
T

Publisher

tacure

Hexagonal Grid Utils

Tools
Hexagon Grid Snapping Mathematics Positioning Flat Pointy Functions

Hexagonal grid utilities for Godot. Currently, it only provides two static functions: for flat and pointy top hexagons. These two functions can be used for grid snapping. Note: Debug visuals aren't included with this library.

Hex Grid Utils For Godot

Description

This library contains a set of utilities focused on hexagonal grids. Currently, it only provides two static functions that give a snap position on a hex grid given a position (e.g., mouse position).

Flat top hex grid: Flat top Note: Debug visuals aren't included on this library.

Pointy top hex grid: Pointy top Note: Debug visuals aren't included on this library.

Usage

Just download all the files, then drag and drop them into your project directory. We recommend adding the following classes to the "Autoload" scripts:

  • HexGridUtils (Class with static methods)

Autoload

Authors

This library was developed by Tacure.

License

This library is distributed under the MIT license. Feel free to use it on any project.