Link Search Menu Expand Document

Collisions

Grid Engine makes it super easy to enjoy tile-based collisions in your game, and even getting it set up is a breeze.

You can either read this guide, or check out the Medium article by @Annoraaq that’s a tutorial for writing your own grid movement! Here’s the link.

Most tile-based features in Grid Engine work by using Tiled’s Custom Properties feature. Collision is no different! When working on your tilemap in Tiled, click Edit Tilemap in the bottom right menu.

Edit Tileset button

Once you’re in the tileset editor, select the tiles you want to have the custom property assigned to, and add a custom property in the left-hand menu.

Add Property button

Name it ge_collide, or one of the other supported properties, make it a bool and then set it to true if you want the tile to be non-walkable!

Add Property context menu

Collides property