0 Favourites

Enemies overlap. Blood is on top.

  • Problem 1

    I want my enemies to stop overlapping each other. i have tried everything i can... I am a beginner so i am not good at this :/

    the enemy has solid and bullet behavior but the solid behavior doesn't stop them from overlapping. what can i do?

    Problem 2

    When i shoot enemies, there comes blood out of them, and when i walk on the blood it is on top of me. Sorry for asking so easy questions but as i said, i am a beginner so i don't know much yet.

    Thanks <img src="smileys/smiley1.gif" border="0" align="middle" />

    <font size="6">Solved, problem was in the bullet behavior</font>

  • Maybe have an On Collision event with the Enemies for each other.

    On Collision with Enemy -> go other direction.

    If the enemies have the Bullet behavior you can have them bounce off each other.

    As for the blood, you can do 2 things:

    1) When you spawn the blood change the Z Order to be lower than the other sprites.

    2) Spawn the blood on another Layer that is below the layer that the player/enemies is on.

  • Construct 3

    Buy Construct 3

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

    Buy Now Construct 3 users don't see these ads
  • 1) You can remove collision with an event ... Set Collisions Enabled !

    2) Try Ranger's technique , and if it don't work , provide the capx and we'll help you !

    Cheers ! ( You can always call me with Whiteclaws )

  • I fixed the blood problem, thanks ranger!

    The overlap thing didn't work <img src="smileys/smiley11.gif" border="0" align="middle" />

  • The enemies might be overlapping because their collision boxes are not boxes.

    Open the collision box for the sprite and see what it looks like, its probably using the default "auto guess" shape. Try making it a box. Right click one of the points and chooose "Set to bounding box"

  • Nope, they still overlap <img src="smileys/smiley18.gif" border="0" align="middle" /> They can go through any solid object but not my main character.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
0 Favourites
Top 10 Games
70 15,921
Rodak's avatar
Rodak
Unread hot topic
54 9,214
angelo's avatar
angelo
Unread hot topic
41 3,218
Napelazam's avatar
Napelazam