thinkTank's Forum Posts

  • 3 posts
  • Okay, I got saw your other thread and did some experimenting.

    Solution:

    Put the Enemy in an Family (EnemyGroup)

    For each Enemy

          Enemy is overlapping EnemyGroup

                If EnemyGroup.X < Enemy.X then self.platform.vectorX + 100

                If EnemyGroup.X > Enemy.X then self.platform.vectorX - 100

    Thank you very much for your help

  • What if they're of the same object?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey all, I got Construct 2 a week ago when it was on sale and I'm really digging it, it's very intuitive. However, I'm a bit stuck.

    I have this enemy (Platform type) that I've made to chase the player along the ground. The probably is that they always end up overlapping each other and forming this bothersome singular mass.

    Is there a way via the events to push them apart? I want to avoid using the solid behavior if possible because I still want the player to be able to pass through them, and the enemy pass through each other in certain situations.

    Any help is appreciated.

    Edit: Solved, see below

  • 3 posts