How to block running into walls

Why player is walking into walls? I set wall tile in 'SF Inside' to non-passable
Most likely you have an object next to it that has walking passability, which allows the player to access the wall.
So what's wrong?
Przechwytywanie.PNG
1.PNG
From the looks of it, you aren't using a wall tile but a ceiling tile.
Those are intended to be walked on as soon as the player finde a way into them (simulating a two-level dungeon)
From the looks of it, you aren't using a wall tile but a ceiling tile.
Those are intended to be walked on as soon as the player finde a way into them (simulating a two-level dungeon)
where?
The passability of each tile is determined by the topmost image layer on it. Every tile can layer up to three layers, bottom one being from A set, and then two layers from B and/or C. Even if your wall tile from set A is impassable, if you put something else on the same tile that is passable in B or C set, that tile becomes passable. Fastest way handle this (especially if you happen to have invisible passable tiles in those sets) is to just redraw the A tile on it alone, that removes the upper layers.

Edit: saw the pictures just now. It also looks like you are using castle roof tiles as "windows". The tiles on A tab are set on various autotile sets which have different behaviors attached to them and using them willy nilly will give wonky results.

index.php

Map005.png
The passability of each tile is determined by the topmost image layer on it. Every tile can layer up to three layers, bottom one being from A set, and then two layers from B and/or C. Even if your wall tile from set A is impassable, if you put something else on the same tile that is passable in B or C set, that tile becomes passable. Fastest way handle this (especially if you happen to have invisible passable tiles in those sets) is to just redraw the A tile on it alone, that removes the upper layers.

Edit: saw the pictures just now. It also looks like you are using castle roof tiles as "windows". The tiles on A tab are set on various autotile sets which have different behaviors attached to them and using them willy nilly will give wonky results.

It doesn't help
The passability of each tile is determined by the topmost image layer on it. Every tile can layer up to three layers, bottom one being from A set, and then two layers from B and/or C. Even if your wall tile from set A is impassable, if you put something else on the same tile that is passable in B or C set, that tile becomes passable. Fastest way handle this (especially if you happen to have invisible passable tiles in those sets) is to just redraw the A tile on it alone, that removes the upper layers.

Edit: saw the pictures just now. It also looks like you are using castle roof tiles as "windows". The tiles on A tab are set on various autotile sets which have different behaviors attached to them and using them willy nilly will give wonky results.

index.php

View attachment 87223
Hey, it works!
You need to either use a different tile for your walls or rework your walls in the same way as alisus example AND make sure that you don't place a passable decoration next to that wall.
You can not make the wall like you have done so far.

I suggest you follow the link to the starting point in my signature and work through the basic tutorials on mapping to learn how the tiles are intended to be used.
I also explained the function for the ceiling tiles and the two-level passability in the tile of that tutorial.
The brown tile you are using to encircle your room is wall top tile. It seems to have passability within iteself, and downwards, but not on the sides. That is so that if you placed staircase that looks to go up, you can then pass on that tile from downward and walk on top of it. However, in most cases, you need to use wall tile underneath it (the white tile I use in my example) to stop that direction from being passable. The autotiles are a bit tricky to get around at first.

On the A tileset, by default for the SF_Inside tileset, the first 2 rows are various water autotile sets, they are animated to give impression of water. Next 4 rows are various ground types, and on the right, decorations to set on them. Next 6 rows are wall-top /wall pairs, 3 of these where the upper row is wall top (like the brown you used) and the bottom row is wall tile (like the white I used). They are paired up in "intended" pairs but you can mix and match them how you like as long as you use wall top as wall top (1, 3 and 5 row) and wall as the side of the wall (2, 4 and 6 row)

The tiles under that are not autotiles and can be placed with more freedom.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-block-running-into-walls.93997/