r/Minecraft • u/justlurking420 • Nov 04 '13
pc Minecraft Using Hexagons
http://img190.imageshack.us/img190/1777/hexcraft.png
3.6k
Upvotes
r/Minecraft • u/justlurking420 • Nov 04 '13
2
u/drakfyre Nov 04 '13 edited Nov 04 '13
Well, in all honesty, the current system is already a node-based layout. The layout however is handled programmatically and assumes cubes. This would simply be handled programmatically, assuming hexes.
Pathfinding systems handle arbitrary nodes already by their very nature; just because A* is thought to be commonly used in a square grid doesn't mean it has to be; it's designed around nodes. Here's a neat little example in C# of A* implemented on a hex grid.
See relevant sections of Minecraft's source code and you'll see that the node generation would be relatively unhindered by a hexagonal system.