Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 555 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 555 Bytes

2D Hexagonal Map Navigation Demo

This is an example of implementing hexagonal TileMap navigation in Godot.

TileMap cells are rectangular by default. Hexagonal maps are achieved by applying hexagonal tiles to each cell. However, since the tiles don't overlap the cells completely, mouse events aren't always registered within the right cell.

This project provides a solution to this problem.

It features mouse navigation of a player character on a TileMap and path finding using two algorithms (A* and Dijkstra).

Screenshot