Health System, Health Bars and all the goodies

Here is a little video of my Health System in practice, along with fancy health bars and hit effects! Iā€™m satisfied with how it currently works. I plan on adding a couple more features for funsies as I go along :smiley:

And you can view the code for the health system here: https://gist.github.com/JCaraballo113/27ba020094a280cb36e37d740512874c

And the enemy here:

Now with a targeting system! I think it turned out quite fancy. Took me HOURS to make work but I did make use of delegates and events :smiley:

4 Likes

Very nice, thanks for sharing the scripts!

Privacy & Terms