Keeping units from overlapping.

Get help using Construct 2

Post » Wed Aug 07, 2013 3:55 am

hello all, I am working on developing a top down 2d shooter. I have just recently implemented enemies who will chase and attack the player whenever he pulls out his gun. I am currently focussing on getting the enemies to search for the player once they lose line of sight. also if anyone knows how to keep.the enemies from all bunching up once they start chasing the player that would be great. (ive given each one a random speed.and.they go.half.speed when.in shooting range). thanks a lot :)
B
7
S
1
Posts: 3
Reputation: 850

Post » Wed Aug 07, 2013 4:04 am

Posting a CAPX usually gets you an answer faster...

Without seeing what you're doing I can think of two possible routes:

Use Physics and Solids to keep the enemies in their own space
or
Use IsOverlapping to detect enemies about to occupy the same space and stop or slow their movement.

You will probably have to post a CAPX before anyone can give you better or more accurate advice.
B
10
S
4
G
2
Posts: 133
Reputation: 2,667


Return to How do I....?

Who is online

Users browsing this forum: KittenKatja, LaDestitute, ladjuric, SnipG, Zjahel0001 and 11 guests