Hey guys!
Not so long I was asking here mostly the 50% of this.
Actually, in my game, I solved the health damage recived already; but never find a way to to show it on the HUD. Basicly I have this 100px width bar, that I need to represent the player's health, which starts at 100, and then increases to 200 HP, by an upgrading mechanic.
On start it looks like:
And when the player gets hitted:
Now, since the last topic, I kind of get that the best way to discuss this things is with a capx. So, I tried to emulate the problem here: Capx
But here I realize, that I didn't understand well the whole thing, and I'm repeting this, since I really want to learn º^º. As you'll see, when the player gets hitted, the health does not respond. Of course, this make the capx unable to show the health bar width on action, but I'm pretty sure it will fail, since it's the exact same thing that I had on my game :1
I know there are some RPG's health bars mechanism that are similar to this thing, but I found myself troubling with the variables that have influence on the whole thing (platting, hull, shield). But, if I missed some useful topic, please link me there (:
Thanks for reading~
PS: Oh! and please excuse my english.