Skip to content
A godot demo of connecting tilemaps to a hex grid
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Tiles
.gitattributes
.gitignore
HexCell.gd
HexGrid.gd
HexGrid.tscn
LICENSE
Map.gd
Map.tscn
README.md
default_env.tres
grid_display.gd
icon.png
icon.png.import
project.godot

README.md

Godot Tileset-Hexgrid demo

This simple demo simply displays how to connect a hexgrid according to this guide to a Godot tilemap (like in the hex demo in the asset store)

Hex code taken from: https://github.com/romlok/godot-gdhexgrid. Please check that repository for usage of the included libraries.

Tileset created quicky via GIMP for purposes of this demo. The vector-sizes were a bit trial and error due to stretched hexes.

Demo Usage

  • Highlighted hex will display coordinates in both Godot grid and in Hex Vector3 (i.e "cube" format).
  • Left-clicking on a hex, will convert it to a water tile
  • Right-Clicking on a hex will convert all its neighbours to mountain tiles.
You can’t perform that action at this time.