Tuesday, 12 April 2016

Class 33 - Bleeding

Post 116

Bleeding
Today I began to work on making on hit effects. Currently I spent all my time and effort into making one on hit effect, bleeding. This effect will occur when the player gets hit by a enemy with bleed damage. What bleeding does is slowly damages you after you have been hit. This gives attacks more variety.
So currently bleeding works by having the variable "bleed" set to 30 for example. The bleed variable then begins to reduce its self by 1 every step of the game. And for every step of the game the "bleed" variable is greater than 0 the players health is reduced by 1. This basically reduces the players health by 30 in 30 steps. But just having this doesn't really communicate well with the player so I started to work on a visual aspect of the bleed damage.


So I made this little dripping blood animation to display over the players head. This makes it obvious that the player is taking bleed damage.
Next class I will make some way to protect yourself from the bleeding damage. I'm think something along the line of breakable Armour.

No comments:

Post a Comment