{
"name": "testmap", // name of the map (parameter)
"version": "1.0.0", // version of the map format
"width": 4, // width of the map
"height": 3, // height of the map
"radius": 40.0, // radius of the hexagons
"orientation": "POINTY_TOP", // enumerated: POINTY_TOP or FLAT_TOP
"layout" : "RECTANGULAR", // enumerated: RECTANGULAR, HEXAGONAL, TRIANGULAR, TRAPEZOID, EMPTY
"tilesetUrl": "http://example.com", // the url of the tileset. the tileset defines the tileIds as well
"cells" : [
[0, 0, 1, 1.0, 1] // x, z, isPassable, movementCost, tileId
]
}
Since map import/exports are not part of the core functionality it goes to the hexameter-util module.
The format of the map file is as follows:
Since map import/exports are not part of the core functionality it goes to the
hexameter-util
module.