Jump to content

Super Simple Hex Tile Grid Demo


ptdnet
 Share

Recommended Posts

Heya! I've seen people asking how to do hex tiles and quite frankly, many solutions are just way too complicated. I've ripped the tile display engine out of one of my games to show how easy it can actually be.

 

Demo: http://www.passthedice.net/HexxDemo/

 

Source: https://github.com/ptdgames/HexxDemo

 

It draws a small map and lets you hover around the different tiles. Have fun. I tried to over-document the code so let me know if there are issues.

 

Edit: more than you ever needed to know about hex tiles here: http://www.redblobgames.com/grids/hexagons/

post-13083-0-12797400-1424131990.png

Link to comment
Share on other sites

  • 5 months later...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...