A six-sided polygon. Typically portrayed as a symmetrical shape with equal length sides and 120 degrees for each internal angle.

learn more… | top users | synonyms

1
vote
1answer
36 views

How Can I Detect Hex Edges and Corners for Catan Map?

The following messy code implements a decent hex map, but I have no way to detect edges and corners: function blankMap($scenario_array){ $hexMap = null; $hexCss = "<style media=\"screen\" type=\"...
2
votes
0answers
54 views

Hex axial coordinates to table coordinates conversion

I am developing internet game based on hex map. I am storing my data based on axial coordinates system. I developed function which shows me axial coordinates of hexes within $distance from a given ...
0
votes
0answers
33 views

what is an elegant way to add a border to a hexagonal grid

At the moment in my hexagonal map generator, I am working from the idea of generating the grid, doing some nasty conditional logic to check if grid position is within the scope of the border and ...
0
votes
0answers
94 views

Laying an hexagonal 3d grid on a 2d-isometric game

I'm trying to create an hexagonal grid for my 2D game, but I got stuck when determining what exact angles/rotation for this 3d plane to have in order to fit with the current 2d isometric art. So right ...
0
votes
0answers
42 views

Hexagonal Tilemap is being distorted

So i made a hexagonal tilemap of ocean tiles and then picked a few tiles to be land when i pick all adjacent tiles to the hexagon it usually work but for tiles that are on certain columns it does not ...
0
votes
0answers
119 views

Slick2D doesn't render hexagonal TiledMap from Tiled Map Editor properly

I'm new to Slick2D and Tiled so I might be missing something crucial although I've done my research and came up with nothing. I'm trying to create a hexagonal grid using Tiled Map Editor (v. 0.12.3) ...