How do I Make sprites of the same instance stop overlapping?

Get help using Construct 2

Post » Thu Apr 06, 2017 4:02 pm

i took a look at rojohounds example, seems pretty straightforward. will test and see if i can explain it when i get home.
B
4
Posts: 5
Reputation: 210

Post » Thu Apr 06, 2017 5:27 pm

I recommend:

Boids
-or-
LJ Potential

.. for swarming behaviour. Although you need to understand a bit of C2 to implement practically.
B
41
S
12
G
1
Posts: 69
Reputation: 2,957

Post » Thu Apr 06, 2017 11:55 pm

You can also use BOIDS behaviour and use that to "flock" your entities. They will perhaps overlap, but quickly adjust themselves to be more in a "loose group" depending on the settings you put into the behaviour.

You can get the original BOIDS behaviour HERE

You can get Rex Rainbow's version of BOIDS behaviour HERE

Each behaviour listed above works slightly differently. Rex has a bit more control but I find slightly harder to use (which usually comes with having more control).

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Fri Apr 07, 2017 4:16 am

chrisinfinger: Where do i find the .capx file? do i need to buy license?


The capx is in the left column beside the tutorial.. its under heading "Tutorial Downloads". Not sure if it was made using objects requiring pro license though.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
68
S
17
G
8
Posts: 637
Reputation: 9,420

Previous

Return to How do I....?

Who is online

Users browsing this forum: Ashley, dop2000, jatoblendy, MathNook and 32 guests