I have two things fighting in my game (this)
. Both entities have health bars, but they (the health bars) are the same object, just with different names. I'm wondering how I could differentiate between the health bars to determine when one of the entities has died, but not the other. I really don't want to have to make another health bar object. Please help!
Controls are WASD to move and ArrowUP and ArrowDOWN to attack. (It's not very clear so I thought this would help.)
There is one more bug in the game that I don't know why is a thing. Basically, after the poop attack, the doge exit animation will most of the time play twice, although sometimes it doesn't? Pls fix.