Simple Enemy AI Movement for Construct 2
Simple Enemy AI for Construct 2
create a Two instance name them hero and enemy
add platform behavior to the hero character. Go to event Sheet
Add event > system > Compare two values
Add hero.X less than enemy.X – click done
go to action > enemy > set the X value – self.X-2
this will cause the player to move in the left direction
do it reverse for right movement