Need help with baddie deaths!

Phraustdesign

  • Posts: 9
I'm fairly new to Stencyl, only been using it for about two weeks and I'm at roadblock.
I'm working on a top down zombie game and I have it set that upon collision with a zombie
the zombie begins to deal damage to the player.

My issue is that once the zombie has been killed I have it set to change the tint of the zombie, fade it out over 3 seconds and then kill the zombie... However because of collisions even while the zombie is going through his dying fade away the player can still take damage if they get near the zombie.

I know that the main issue is that I have the kill zombie at the very end of the 'if statement' and thus collisions continue until it's executed. Anyone have any ideas on how to cancel collisions for an individual actor once a condition has been met?

Phraustdesign

  • Posts: 9
Wait.. Wait.. I just figured it out. :)

t4u

  • Posts: 418
USE PICTURES WHEN YOU ASK SOMETHING!
If I helped you be sure to mention it in your game.

Tutorials + downloads:
http://t4upl.blogspot.com/