Healthy System and Interactions
- Akeem Roberts
- Jul 5, 2021
- 1 min read
I worked on adding creating a Health System for the player when interacting with enemies and health pickups. For the health system I made it so that the player can receive damage and also have health restored.
When the player comes in contact with an enemy the damage to give value will subtract from the players current health. In turn when the player comes into contact with a health pickup or within our game a health flower the heal amount of the flower will add to the players current health.
Comentarios