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.
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.
📖 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.
- Build a Snowman
- Defynia
- Fallout Clone [Play] [Repo]
- Névomon
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.
Raiper34, splashsky, therebelrobot, xLink,
Most of the characters and tile set images for the examples are from: https://finalbossblues.com/.
Apache 2.0