News for hackers. Stuff that matters.
Re:Hexagonal grids for games by bengotow on Sunday June 02, 2013 @06:26PM (#5810358)
I'm the author of Hexdefense (a tower defense game with a hex board), and I think this page would have saved me days. I'd love to see someone collect the logic and algorithms on this page into a portable library. Thanks for creating such a great resource!
Re:Hexagonal grids for games by rhengles on Monday June 03, 2013 @12:35PM (#5814196)
+1 here! I started a canvas library[0][1] to draw hex grids and boxes, this would have been immensely useful! Maybe I can integrate it sometime in the future.

[0] example: http://hengles.net/piksel/ [1] https://github.com/rhengles/piksel/

Re:Hexagonal grids for games by danielweber on Monday June 03, 2013 @12:56PM (#5814326)
Similarly, I reverse engineered a hex-tile Flash game to build my own Android client for it, and I had to learn so many things that he just presents here plain as day. The co-ordinate system alone took me a few hours to decipher.