Hi Guys, I don't able to understand how the health and Damage works in buildbox? Can any please guide me on that.
Let's say you have an Enemy object with Health 2 and a Character Bullet with Damage 1. You have to hit the enemy twice before it dies... Same if your Enemy has Heath 1 and your Bullet is on 0.5, you still need to hit that enemy twice before that dies. However, you do not seem to have the ability to set the Character Health (which would be nice in my opinion but maybe you can get away with that problem by attaching Objects to your Character)
Question on the topic: The bullet would have to hit the enemy twice before its destroyed, is there a way to make it so that when the first bullet hits, the enemy would have its alpha change or a way to create an indication of the enemy taking damage? I thought of using the bullets defeat animation but what if its a different enemy? Thanks to anyone who can share their process, tips tricks or other
Unless someone comes out with a better idea you can place several enemy objects on top of each others, the top most has the collision shape left most and the bottom right most. So each time the bullet hits the left most enemy object, it dies, revealing the other enemy object below that. Not sure how it affects performance and if the physics engine will always collide with the desired enemy object but worth a shot (heh, worth a shot )
I have attached a link to an OLD video that shows a method of having a 'health bar' - seems a little clunky, but is worth watching for concepts. Hope it helps!