Hello guys,
I’m working on a dungeon crawler, let’s say the Zelda bit of dungeons.
Now, I’m struggling on the notion of height in a 2D view, how can I make collide the player with the ground that is one or many level higher, but he can drop on level lower
Here is a sketch#1 of what I mean. Green arrow means he can do it, red means he doesn’t.
Also, the high ground may be a single tower, so it must collide from all direction.
To get on those higher ground, sometime there will be stairs and sometime it will be a “jumping pad” that will consider the player as one level higher.
I have tried using layers, but they are two ways so I can’t stop them from climbing.
I also tried placing the “platform effect” to act as a one way collider, but since I need all 4 directions it would be a mess to use.
Is there any way to make it easy to simulate different height like this?
Thank you