Weekend Progress
Got a lot done this weekend! The mechanics are slowly coming together, and are starting to become more and more exciting!
Set up bloody screen health indicator. Your screen gets darker as you receive damage. Setting a bloody overlay as a canvas and setting its alpha value to be equal to the percentage of player health lost did the trick here.
Set up buildable defenses. I created multiple game objects for this one: a broken wall, a damaged wall, and a fixed wall. I used a box collider to detect if the player enters the buildable area, and then wrote a quick script to set the next \version of the wall as active when the player presses "E".
Set up bandage and wood collectables.
Alot of animations!

Comments