Dev Log - Entry #5


Plan

Today I managed to squeeze in a bit of work time on the game so I wanted to focus on something that wouldn't take too long to implement. I had this idea of adding breakable obstacles so I got started with something simple.

Progress

For the breakable object I added a script to hold the health variable indicating how many hits it takes to destroy the object. I then added an on trigger collision to check if the object is hit by the fist so I can deduct 1 point of health from the variable. I managed to get this basic functionality (without animations yet) but I ended up finding an animation bug between the box and the switch opening a door. I didn't have time to fix it so I just wrote it down as a bug so I can get back to it on a later day.


Leave a comment

Log in with itch.io to leave a comment.