top of page
game developer

Infection
This is my first-ever game! It is an FPS where you have to fight waves of zombies. I made everything myself, including the art. It may not be the best-looking game or the most fun, but I am very proud of it!
I made too much to show everything! But here are a few things.
Everything in this game, I modeled myself (except the background). I had never touched modeling tools before, but it was a lot of fun! Here are some of the models I made.



The damage system
I had never made a damage system before, so it is not even close to perfect. but this is how i did it!
Firstly, i checked if the player and the enemy collided. if that is the case, i will tell my other script to do some damage


This script will deduct the hit damage amount from the player's health and instruct my user interface script to update the health bar.
The updated health function will ensure that every time we are hit by an enemy, one of our hearts will turn black, indicating that we have lost a life This is what that looks like.


And finally, here I instruct my script to call "dead" function when the player runs out of health. The "dead" function will display a game over screen and ask player if they want to try again or close the game.

bottom of page