How can I make the enemy not move backwards or upwards when the character runs into it. I don't want the player to be able to push my enemy off the platform.
Develop games in your browser. Powerful, performant & highly capable.
Are you using physics ?
no I am not, I will look into it. Anything I should know?
Don't use the physics.
But i don't understand why the player can push the enemy.
Maybe you are using solid with platform, Because with only platform behavior the player player will go through the enemy.
this problem is solved