How do I make Enemy Smart

Get help using Construct 2

Post » Sat Sep 06, 2014 7:16 am

Hi Guys
i asked you i need help for enemy follow player. and i solved it for your help. but there is a llittle problem.they follow me where i stay.but the all of the enemies move the same way. they just move left or right.i stay betweern 2 enemies and i want ne of them move right and the other move left. but 2 zombies move or right or left.

Image


Image
İTS MY EVENT(Some times when character standing, he shaking. i thing the problem is size of standing and run sprites. and i make the same size all of them. But if there is a suitable event sheet for mooving character. i want to use it.

Image
B
3
Posts: 13
Reputation: 195

Post » Sat Sep 06, 2014 7:40 am

You are not picking an enemy in the event where you check the enemies x position..

if you chance the player.x<enemy.x
with enemy.x>player.x

and

player.x>enemy.x
with enemy.x<player.x

it should work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat Sep 06, 2014 11:06 am

ohh man thank you so much. what do you think about my player move event. is there a suitable event for moving.
B
3
Posts: 13
Reputation: 195


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, ST314 and 17 guests