Hey, I've been on the works on a Freerunning platformer based on an old game maker game, with newer cleaner code and new moves.
I've almost finished the meat of my code, but I've hit a snag. The blocks I used are similar to the 1980s Prince of Persia, so they have this 3D look to them. As such, when the player hits the wall to the left, the player should be behind the wall and the opposite, player should be in front.
Now, I'm struggling to do something like that. I use sprites instead of backgrounds, since I will be designing the game along with a map maker.
Is there a way to do so without messing up the entire level depth? I've been experimenting with the blocks in the level, checking if the player's y was greater than the y of the block, but it messed up the levels. Maybe using the player would do such?