frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Multiple Hit Enemies

I am almost finished with my first game and for the last level I want a boss battle but I can't seem to figure out how to have an enemy take more that one hit too kill. I have been up all night trying to figure this out but no luck so please respond as soon as possible this is very frustrating.

Comments

  • When you hit the enemie, increase a number behavior. With a filter you can check that number. For example, if an enemie dies after 3 hits, then set the filter to "equal to 3". If that passes ("pass" output) then destroy the enemie.

    Note that you've to put these behaviors in the enemie and not in the player:

    [collision (player)] --> [(+) number] --> [filter (equal to 3)] --> [Destroyer]
  • Thank you so much!
Sign In or Register to comment.

flowlab.io

| make games in your browser
@ 2017 Flowlab.io, All rights reserved.

Contact us

Get In Touch