https://github.com/db0/godot-hexgrid_tileset_demo
A godot demo of connecting tilemaps to a hex grid
https://github.com/db0/godot-hexgrid_tileset_demo
Last synced: 8 months ago
JSON representation
A godot demo of connecting tilemaps to a hex grid
- Host: GitHub
- URL: https://github.com/db0/godot-hexgrid_tileset_demo
- Owner: db0
- License: mit
- Created: 2019-06-05T17:23:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T16:07:08.000Z (over 5 years ago)
- Last Synced: 2025-07-28T08:45:22.285Z (10 months ago)
- Language: GDScript
- Size: 43.9 KB
- Stars: 22
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Godot Tileset-Hexgrid demo
This simple demo simply displays how to connect a hexgrid according [to this guide](https://www.redblobgames.com/grids/hexagons/implementation.html) to a Godot tilemap (like in the hex demo in the asset store)
Hex code taken from: https://github.com/romlok/godot-gdhexgrid and modified to use internal Godot functions. Please check that repository for usage of the included libraries.
Tileset created quicky via GIMP for purposes of this demo.
## 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.