I have a Hexagon tmx map in libGDX. The rendering works just fine, however I am having trouble finding out a way to detect clicks within these tiles.
Asked
Active
Viewed 1,123 times
1
-
It's not libGDX specific but I believe http://www.redblobgames.com/grids/hexagons/#pixel-to-hex answers your question very well – Basim Khajwal Jan 12 '16 at 22:57
-
Possible duplicate of [LibGDX: How to make tiled map tiles clickable?](http://stackoverflow.com/questions/24080272/libgdx-how-to-make-tiled-map-tiles-clickable) – Mayuso Jan 14 '16 at 12:15