For this section, we're going to teach you how to make a map have passable and impassable areas. Before we proceed, let's go back to RPG Maker for a bit. Remember the Database -> Tilesets tab?

 

 

Our points of interest goes to Passage and Passage (4 dir). This is RPG Maker's collision settings. You have Passage where you can set O (passable) and X (impassable). Passage (4 dir) is for special tiles where you can't pass over it on certain directions. How RPG Maker does it is binding it to certain tiles. Now this has pros and cons. Let's list them out!

 

Pros:

 

Cons:

 

Personally, I think the cons outweigh the pros and I have experienced a ton of issues with this method. It takes too much time and I find that it's a hassle to create new tileset combinations. To avoid this issue, we decided to do the following for Tiled.

 

 

So our final map will look something like this:

 

And that's about it! It might seem like a turn off at first, but filling the areas in is very fast due to Tiled's tools. I can clearly see what areas of the map have impassable and what kind without any hassle. For now, let's focus on creating the tileset!

 

Create a Global Collision Tileset

1. File -> New Tileset.

2. I recommend naming the Tileset as Collision. Go to Image -> Source -> Browse and select your collision image. The Tile Width and Height depends on your tileset. In my example, I use a tileset with 32x32 tiles.

From here, this is what our tileset looks like:

 

3. It should open a new tileset window with the selected graphic visible.

 

4. Select the Red Tile and add a new property. Name it collision and give it the property full. This means that areas with the red tile are impassable no matter what. Here's a GIF to show you how to do it:

 

5. Now for the arrows we have to give it a new property. But, instead of collision, you will name it arrowImpassable -- remember they are case sensitive! Here's an example:

You can see that I wrote left & down & right. It means that the player cannot walk left/down/right. They can only move up. The dots represent what directions would be impassable and you would write those.

 

6. Hit save. Select the Project Folder/maps folder and save it there as collision.json. The name doesn't really matter but for the sake of simplicity, we're using that.