How do I add distance between 2 objects so they dont overlap

Get help using Construct 2

Post » Fri Sep 18, 2015 4:34 pm

hey there need help ASAP..
after searching for a while on forums. please can some one help in this simple problem which i am facing...
CAPx file if possible..
i have same sprite enemies in the game where when they move they dont have any distance. they just overlap and after few sec 3-4 sprites becomes one .due to overlapping... pleaaase helppppp ......
B
5
S
1
Posts: 49
Reputation: 455

Post » Fri Sep 18, 2015 7:00 pm

you have to modify manually their speed when object1 is overlapping object2. What do you use to make them move?
B
8
S
1
Posts: 76
Reputation: 628

Post » Fri Sep 18, 2015 9:49 pm

i have many enemies of same object/instance. and also it spawns... i want when they move they should have distance between them so they couldnt overlapp ....
B
5
S
1
Posts: 49
Reputation: 455

Post » Fri Sep 18, 2015 9:49 pm

i use platform. and simulate left/right
B
5
S
1
Posts: 49
Reputation: 455

Post » Fri Sep 18, 2015 9:51 pm

Use them as solids
B
56
S
21
G
3
Posts: 602
Reputation: 6,612

Post » Fri Sep 18, 2015 10:16 pm

they vibrate and collides which doesnt look good. how can i add distance between objects ????
B
5
S
1
Posts: 49
Reputation: 455

Post » Fri Sep 18, 2015 11:07 pm

you can verify their distance using the expression "Distance" and storing in a instance variable and then compare all of them in a every tick
B
56
S
21
G
3
Posts: 602
Reputation: 6,612


Return to How do I....?

Who is online

Users browsing this forum: Construct Monkey, warmty and 6 guests