Detalhes do pacote

grid-engine

Annoraaq1.9kApache-2.02.48.0

Phaser3 plugin for grid based movement on a 2D game board.

Phaser, RPG, 2D, Movement

readme (leia-me)

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