Boss Health

I have created a final boss and would like him to need to be hit multiple times to be defeated but can’t seem to figure out how to do that. I have looked at other people asking the same question and tried to copy their flow but I can’t get anything to work.

Any help appreciated and it’s worth noting I am in no way a techy.


I checked out your game, and I’m assuming that the pirate on the last level is the boss in question. The behaviors you have are really close, I think you just need to tweak a couple of things to make it work:

  1. When a fireball touches the pirate, you are sending -5 into the value of the health bar - this will instantly kill the pirate, which isn’t what you want. Instead, try adding a “Value” behavior and set it to the health of your pirate (100). Then send that -5 into the “+” input of the value, which will subtract 5 each time (by adding -5 to his health)

Once that’s done, just connect the output of your health bar to the input of your filter, and I think it should work as expected!

I put together a simple example to illustrate what I mean:

Good luck!

Thanks for the notes. When I try to load the game, it freezes here every time. I am working from Chrome, and have the same issues in Safari and FF.Screenshot (1)

Hey, sorry about that - I was using a prerelease version for that demo. I just changed it, and everyone should be able to see it now.