How do I make objects collide with copies of itself

0 favourites
  • 5 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • Hello, I'm currently making a top-down shooter with enemies that chase after the player to kill him. I hit a problem when trying to make them chase after the player, the enemies just overlap each other, even if solid or physic behaviors are enabled. However they collide with the player strangely enough.

    For making the enemies chase after the player I'm currently using this:

    Every tick:

    • Set Angle Toward (Player.X, Player.Y)
    • Move Forward 1.5 pixels

    Note: I used to have the Bullet Behavior instead of this for the enemy's movement but it didn't seem to make a difference. I also tried enabling bounce on collision with other solids in the Bullet Behavior settings but it's just made them bounce really stupidly and spazy off of each other which doesn't look very good.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Obvious question, have you checked the collision box for the enemies?

  • Obvious question, have you checked the collision box for the enemies?

    Uh yeah, of course. They're currently set as squares cause that's the shape of enemies atm. I doubt they have anything to do with the problem.

    Like I said, they collide with the player just not each other.

  • Use family if you can access it:

  • Use family if you can access it:

    Thank you, you are awesome!

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