prevent from overlapping

Get help using Construct 2

Post » Mon Oct 28, 2013 3:04 pm



Those 4 pirates are my basic enemies in my game. how do I make them NOT OVERLAP one another as well as the player (char at the leftmost part of screen)?

Edit:
by "overlap", I mean that that each of the characters have a "body", so of course, a body cannot occupy the same space already occupied by another person.

I first thought of adding solid behavior, but that would result in my chars being treated as a floor (you can step over the object with solid behavior)sgn152013-10-28 15:07:04
B
16
S
7
Posts: 301
Reputation: 2,726

Post » Mon Oct 28, 2013 4:01 pm

Easiest way would probably be setting them to solid and creating on collision events for when you'd land on top of them.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Oct 29, 2013 12:35 am

what could I possibly use? Aside from using solid behavior, I have thought of manually coding events like using condition "object on collision with" but so far, my problem is what action to use

@LittleStain
btw, I don't see you online in skype anymore. I have another question to ask.
B
16
S
7
Posts: 301
Reputation: 2,726


Return to How do I....?

Who is online

Users browsing this forum: Darth Crusher, NN81, plinkie, TsubaRu and 10 guests