Anyone have any idea on how to make 2D top-down stairs?
So far I've made this, see gif
It's really buggy and not really scalable. These stairs works with a very specific config depending on position, nearby walls and which player going up the ramp.
Also when reaching the top I want the player to reach the next level. As it is right now it's a local co-op for proof of concept, but it's suppose to be a multiplayer game. So I only have to care about one player progressing to the next level.
Anyone have a suggestion on how to go by doing this?