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.
Are you using physics ?
no I am not, I will look into it. Anything I should know?
Develop games in your browser. Powerful, performant & highly capable.
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