Sign in / Join

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

simple Ai movement

 

Add hero.X less than enemy.X – click done

simple Ai movement

 

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

simple Ai movement

Virendra kumre on Facebook
Virendra kumre
Virendra kumre
hi, i am indie game developer

Leave a Reply