Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hexagonal tilemaps #79

Open
njt1982 opened this issue Apr 26, 2018 · 5 comments
Open

Hexagonal tilemaps #79

njt1982 opened this issue Apr 26, 2018 · 5 comments

Comments

@njt1982
Copy link

njt1982 commented Apr 26, 2018

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?

@englercj
Copy link
Owner

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

@njt1982
Copy link
Author

njt1982 commented Apr 30, 2018

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

@englercj
Copy link
Owner

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

Define "cross-platform compatible"

@njt1982
Copy link
Author

njt1982 commented May 1, 2018

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

@englercj
Copy link
Owner

englercj commented May 1, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants