How to make a smart enemy for TDS?

Get help using Construct 2

Post » Wed Apr 22, 2015 12:10 pm

Cześć guys,

I want to make an enemy in my game act smart to improve gameplay. So how can I make enemy (called NPC in my project) patrol local area and chase a player when he is in a radius? And when player escapes, I want NPC to stop chasing him and return to patrolling.

Thanks!

.capx: https:// drive. google. com/open?id=0B3Iu4HpEXzMaNU1zYjlBNkdjUzg&authuser=0
B
6
Posts: 20
Reputation: 266

Post » Wed Apr 22, 2015 12:37 pm

You could use the line of sight behaviour or check the distance between player and enemy and have the enemy react accordingly.
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


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, Buddhika, Nicolas951, R0J0hound and 11 guests