Randomise enemy AI

Get help using Construct 2

Post » Sat Aug 10, 2013 5:38 am

Hi,

i want to make a platform game where the enemy robot is flying in the air. The robot has a random movement in all directions but limited to a range.

Which behavior is the best for it?

&

Btw does random(0,360) for angle works? ( i want the robot to go to a random angle that is between 0 and 360 degrees, a full-circle range)

thanks!
B
9
S
1
Posts: 80
Reputation: 687

Post » Sat Aug 10, 2013 1:25 pm

Hey man. Is this anything like what u were looking for?
http://db.tt/PwWCufiPHoyer2013-08-10 13:28:41
B
9
S
2
G
2
Posts: 59
Reputation: 1,024

Post » Sun Aug 11, 2013 4:33 am

thanks Hoyer, yea i think it is what i am looking.

I manage to get the same result from following that example but i dont understand the way 'line of sight' behavior works.. still it is good!
B
9
S
1
Posts: 80
Reputation: 687

Post » Sun Aug 11, 2013 5:40 am

@iikii That is where the manual and tutorials come in. Read up on the line of site in the manual to see how it works.
B
49
S
12
G
10
Posts: 1,833
Reputation: 14,583


Return to How do I....?

Who is online

Users browsing this forum: atmas, Bootfit and 33 guests