How do I make enemies collide?

Get help using Construct 2

Post » Fri Jan 02, 2015 11:22 am

Hi! please take a look at the capx, this is a project im working on, i want the enemies to collide so when one enemy collides with another it will move away instead of overlap, is there anyway to do that¿ i tried making that when they are overlapping, one gets a speed boobst and the other slows down, so they will never be in the same place, but i would like that they follow the player at the same speed, but moving away from each other

im aware of the boids flocking behaviour, but that plugin its really basic and lacks too much to be reliable enouhg to use in a game.

any idea¿ :P

THANKS IN ADVANCE :D
You do not have the required permissions to view the files attached to this post.
B
23
S
6
G
3
Posts: 316
Reputation: 3,461

Post » Sat Jan 03, 2015 5:16 am

I use this for my "Test-Enemy" but it works they dont stand on the same place, they walk a lil bit confusing but it prevents from overlap

*******http:/***********/www******.pic-upload.de/****view-25736236/EnemyAI.png.****html

delete all the ***** for the link


edit: you need the "
move to" behavior from REX.RAINBOW <3
B
5
Posts: 3
Reputation: 231


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests