Skip to content

gefla/HexPixiJs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexPixiJs

Basic Hex Grid For PixiJS. Version 0.45 (alpha).

HexPixiJs is a simple library written to give hex grid based game developers a jump start. This library will be updated periodically but there is currently no roadmap of features. Feel free to request features.

Disclaimer

This is not supposed to be and end-all solution for making hex grid based games. There is currently no documentation, but the code is fairly simple so I believe there is value for some developers.

Troubleshooting

I realize there is a CORS (cross origin resource sharing) issue if you are trying to view this without a webserver. In otherwords, if you download the files and double click index.html, the texture might not load.

Examples

Browser Examples

RequireJS Examples

Demo

Demo page for map editor with basic import/export functionality. Map Editor Demo

Here is a demo page with a basic map generator on it. Map Generator Demo

Simple demo shows barebones usage. Simple Demo

Simple demo 2 shows interactive map usage. Simple Demo 2

License

Released under the MIT license.

Credits

PixiJS

Art assets for simple demo 2 by Kenney

A great article called Hexagonal Grids by Red Blob Games.

Feel free to submit contributions.

About

Basic Hex Grid For PixiJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%