Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Annoraaq/grid-engine

Repository files navigation

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

About

A grid based movement engine compatible with Phaser3.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 7

Languages

AltStyle によって変換されたページ (->オリジナル) /