![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Geoffroy |
I’m using tilemaps to create a top-down RPG, and I have created an autotile to display a river.
The river has a collision configured, so the player cannot cross it.
I want to be able to add a bridge over it, so the player can cross:
However, I haven’t found a way to disable the collision at this specific place, even using GDScript.
I have found a workaround, using an additional layer for my river. First, I remove a river tile:
Then I manually add some tiles which do not have any collision configured:
And it works this way, but it seems a bit hackish…
My question: Is there a standard way of achieving this result? Or should I proceed the same way everywhere?
I can already guess I’ll have the same problem designing houses, as I want the player to really enter the door, i.e. by stepping on it.
images are made from modified kenney.nl sprites, CC0