• Stars
    star
    169
  • Rank 224,453 (Top 5 %)
  • Language
    TypeScript
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A grid based movement engine compatible with Phaser3.

Grid Engine Logo

Welcome to Grid Engine! Grid Engine helps you position and move objects on a 2-dimensional grid in JavaScript/TypeScript. It easily integrates with Phaser.js but can also be used standalone. For example you could write your own renderer for an ASCII game. You can even run it on a server with Node.js.

Features

Collision Detection - Detect tile based collisions with the map and other objects, supporting collision groups and multiple layers.

Pathfinding - Efficient and configurable pathfinding allows moving to a target position or following other objects.

Multi-tile Objects - Allow objects to span multiple tiles on your grid.

Isometric Maps - Choose between isometric and orthogonal maps.

Diagonal Movement - Four and eight direction movement and pathfinding is supported.

Docs

πŸ“– Read our most current documentation or API reference

➑️ You can try/download a list of examples.

πŸ’» Install Grid Engine.

πŸ‘Ύ Join our discord.

πŸ›  Also check out the Chrome DevTools plugin.

Projects using Grid Engine

If you have a project that is using Grid Engine and that you would like to see in this list, post it in the #showcase channel on our Discord.

Special Thanks

Raiper34, splashsky, therebelrobot, xLink,

Most of the characters and tile set images for the examples are from: https://finalbossblues.com/.

License

Apache 2.0