englercj / phaser-tiled

A tilemap implementation for phaser focusing on large complex maps built with the Tiled Editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hexagonal tilemaps

njt1982 opened this issue · comments

console.warn('TilemapParser.parseTiledJSON: Only orthogonal map types are supported in this version of Phaser');

What work would need to be done to get support for hex maps? I assume at bare minimum, the algorithm for laying out the tiles would need attention?

Yup, though I don't work on this library anymore. If I ever get time to work on it, I would be doing it in gl-tiled

ah ok :) That'd be https://github.com/englercj/gl-tiled/tree/master/bundles/phaser2 - is that fully cross-platform compatible?

All that bundle would do is add an API that feels more "Phaser-y".

Define "cross-platform compatible"

Will it work for native iOS/OSX/Windows builds? Are there any incompatible environments?

It uses WebGL, so it should just work everywhere. If it doesn't that would be surprising, but likely something to do with the hardware rather than the software.