Enemies overlap. Blood is on top.

0 favourites
  • 6 posts
From the Asset Store
Pixel Enemies for SHMUP consists of 38 enemy ship sprites to be used in your game.
  • 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.

  • 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 )

  • Try Construct 3

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

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