Re:Implementation of Hex Grids
by qzervaas on Wednesday May 13, 2015 @02:22AM
(#9537129)
I built my first iOS game[1] last year using Amit's original hexagon guide. This new guide would have been useful too. Still makes for good reading now.
Re:Implementation of Hex Grids
by leviathan on Wednesday May 13, 2015 @11:14AM
(#9539524)
nice game.
An annoying bug though, most of the times when the game is interrupted (by receiving a phonecall, or simply clicking the home button then opening again) nothing is clickable anymore and you have to kill it and re-run in order to get it to work again.
Re:Implementation of Hex Grids
by qzervaas on Wednesday May 13, 2015 @04:45PM
(#9541840)
Thanks. That issue only started with iOS 8.3, still trying to track down the cause. Very frustrating, since the app hasn't been updated since before 8.3.
Re:Implementation of Hex Grids
by leni536 on Wednesday May 13, 2015 @04:49AM
(#9537601)
As a solid state physicist for me the axial coordinates are tho most straightforward. I'm tempted to do design a game level on the hyperbolic plane, there are more exotic tilings there [1]. Designing textures for it would be quite a challenge. I think there are some simple graphics puzzle games already on the hyperbolic plane.
Re:Implementation of Hex Grids
by leni536 on Wednesday May 13, 2015 @11:45AM
(#9539792)
Yeah, played that and really liked the concept. I didn't really like the gameplay itself though. I wonder how a Heroes III bottle would look like on the hyperbolic plane.
Re:Implementation of Hex Grids
by z3t4 on Wednesday May 13, 2015 @06:02AM
(#9537843)
Writing a hex libary has been on my todo-list for a while. Just writing the code, while useful for experts, is not enough though, you need documentation and examples.
Making people understand how hex'es work is a noble task, but most ppl just want to be productive and create their dream game, without having to speed years in school first.
http://www.redblobgames.com/grids/hexagons/
Also, this problem has some relevance outside of games: http://vincentwoo.com/2013/03/08/above-and-beyond-the-affirm...
[1] http://hexiledgame.com
[1] https://en.wikipedia.org/wiki/Octagonal_tiling
https://github.com/adam-arold/hexameter
I've also used axial coordinates. Most of the features are working but some advanced ones are not yet complete.
https://news.ycombinator.com/item?id=8941588
https://news.ycombinator.com/item?id=5809724