For the health script, I looked into using an intricate event system, but I found that getters and setters were effective since it is such a small game. Value is set in place for health and the damage and healing are controlled in separate scripts. Each instance checks to see if the player is dead or above the clamp amount.

No comments:
Post a Comment