Originally, I had this idea where players could use a shield to bounce bullets back and take out enemies. But this game has taken so long to make, and I’m seriously running low on motivation. So, in order to actually get this game out there, I decided to keep it simple.
Now, you’ve got two bars to keep an eye on. The one on the left is your health, and if you lose all 5 hearts, the game is over. On the right, there’s a bar showing how many hits you need to block to move to the next level. Unlike the one on the right, your hearts on the left don’t reset when you level up, so you’ve got to be careful.
The health user interface is just an image with empty heart slots, each bar having 5 hearts. Whenever you sustain damage, the game will disable one of these hearts. The code I made for this will make you in pain, unless you like spaghetti.
