r/libgdx•
Hugo9CF

[confused] HexagonalTiledMapRenderer only displaying one hex.

I've been using this example: http://useof.org/java-open-source/com.badlogic.gdx.maps.tiled.renderers.HexagonalTiledMapRenderer - but when my app runs it only displays one hex tile in the bottom left of the screen.

Each run the hex is randomised, so I assume it's drawing either the first or last tile the code randomly selects.

I'm probably doing something stupid, any ideas?

HexagonalTiledMapRenderer is supposed to draw a CIV-style map of interlocking hexes, right?

Posted Jun 13, 2019, 7:42 PM UTC

10

No comments yet

Nobody commented on this post, or the comments weren't captured.