How To Draw A Hexagon Map In Libgdx Using The Polygon Class?
I recently asked this question on how to draw a hexagon in Android. After finding in the accepted answer that I would have to use umpteen lines of [repetitive] code (compared to th
Solution 1:
if I understand your question, mixing these links may help you create what you want:
1- http://www.alcove-games.com/advanced-tutorials/isometric-tile-picking/
2- http://www.gdreflections.com/2011/02/hexagonal-grid-math.html
3- look other link, code this repo: http://code.google.com/p/libgdx-tiled/source/browse/#svn%2Ftrunk%2Flibgdx-tiled-hex-desktop%2Fsrc%2Fgame%2Fhex
http://code.google.com/p/libgdx-tiled/source/browse/releases/gdx-tests/TiledMapTest.java
hope it will help, I do not put coments, because there were too many coments, I Thinks, if this information is not valid for you, notify me and delete
Post a Comment for "How To Draw A Hexagon Map In Libgdx Using The Polygon Class?"