How do I Enemy AI

Just started using Construct 2? Post your questions here

Post » Thu Nov 06, 2014 8:19 am

Hey I'm a new user of Construct 2,

For my game I want that the enemies, who spawn in a regular intervall, move randomly in an area. So far I made an invisble wall and they bounce from it with the bullet behavior. 'On created' of the enemies I use the event set angle of motion random(360) therefore they run randomly in the layout. The problem for me is that they rotate their body. I want them to don't rotate and just stay at an angle of 180 degrees and move randomly. Do I need another behaviour than bullet?
Thanks for your help!:)

@Kyatric
B
4
Posts: 6
Reputation: 212

Post » Thu Nov 06, 2014 8:42 am

In the bullet behaviour properties set Set Angle to No.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Nov 06, 2014 8:46 am

Thank you for the reply!
Sorry that I just asked something what was so easy ...
But thanks now i can go on !:)
B
4
Posts: 6
Reputation: 212

Post » Thu Nov 06, 2014 9:02 am

No problem. so yeah the tip is, when you use a new Behaviour, to see what all its properties do :) good luck
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 4 guests