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
π Also check out the Chrome DevTools plugin.
Projects using Grid Engine
- Build a Snowman
- Defynia
- Fallout Clone [Play] [Repo]
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