In beat em up games, when a player is behind something, enemy, trash can, etc, It's obvious.
How do I make it obvious that my character is behind something? I'm making a beat em up game.
Different layers ?
I wanted to try "Z-Order" but it doesn't seem to be working for me;
I'm comparing the height/Y axis of the enemy to the player, that's not working.
So you want your player to be able to be on top and be behind? When you compare, maybe you need to +/- both the player and the object accordingly
Develop games in your browser. Powerful, performant & highly capable.
Very simple example:
https://dl.dropboxusercontent.com/u/485 ... ehind.capx
Very simple example: https://dl.dropboxusercontent.com/u/485 ... ehind.capx
Wow! This is simple! Thank you very much!