I'm trying to have an enemy that runs at you, then when they hit you they back away then come back. So it can be them moving away from the player as apposed to there being a force applied to them, that works too, I just need them to back off.
How much of this have you achieved? If you have an enemy moving towards the player with platform behaviour for example, when the enemy collides you can simulate control left or right depending on if the enemy's X is greater or less than the player (they are on the left or right of the player).
Develop games in your browser. Powerful, performant & highly capable.
Or use "Set vector X". For example, if the enemy is to the left from the player:
Enemy Set Vector X to -100
Or use "Set vector X". For example, if the enemy is to the left from the player: Enemy Set Vector X to -100
But it's 8 direction, so I can't just do to left of player or something, like they come at the player from all directions.
Pushing example:
dropbox.com/s/4tjnro8xiy4j6tm/sesame_instance.capx
dropbox.com/s/4ahybqe3t0k758f/biters.c3p