prevent from overlapping

0 favourites
  • 3 posts
  • <img src="http://neuropod.net/imagehost/uploads/e467b2f56ddfe58a11ce7a03a326fe09.png" border="0" />

    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)

  • Easiest way would probably be setting them to solid and creating on collision events for when you'd land on top of them.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)