GSoster/unity-official-tutorials

[Space Shooter] Player Healthbar

GSoster opened this issue · 2 comments

Add a player healthbar that also displays the shield value. Right now the player is destroyed if touched by an enemy/asteroid without a shield.

Tasks to make player healthbar possible:

  • add health attribute to player
  • add health slider to HUD
  • update enemy shot contact logic to decrease players health instead of destroying it

This is on hold until the HUD system is restructured: #10