Enemy Health System


Hello there!

Welcome back to the Freedom devlog, since last time there were many updates made to the game which I will explain now. The first thing I did after adding the health system was to start setting up the other scenes just so that there was at least a foundation to work upon once I reach the later stages of development. I also created and implemented a background for level 2 so that it looked more like a proper game level. 

After those stages I thought it best to add in the enemy health system so that it was possible to properly play the game by having both the player and the enemies able to die. To do this was luckily rather straightforward the system works the exact same as the player health system, there is a dedicated script to enemy health that will be called upon by the damage dealer script should the enemy be shot. The enemy health script would then call on its "die" function which removes the enemy game object from the scene.

And that's all for today! Thank you for checking in and joining along for the journey so far, I hope you continue to follow in future endeavours. See you next time!

Get Freedom

Leave a comment

Log in with itch.io to leave a comment.