Logan's Script


For this project, I was the brain behind how the basic gameplay features functioned.

First and foremost, I worked on the zombie AI and pathing. Making sure its default state was to roam around aimlessly, but chase after the player if the player moves into line of sight. I also made sure that nearby gunshots would alert the zombies to investigate the location of the noise, which in turn leads to a chase via sight detection.

The second major system I programmed for this game was the damage and health systems. In short, the player takes damage if they come into contact with a zombie, and will die if hit about 5 or so times. The player also is able to shoot the zombies to deal damage to them, destroying them if they receive enough damage. Each gun deals a different amount of damage, and the ranges are different as well. With the handgun and its shorter range, it should take about 3 body shots or 2 head shots to kill the zombies, while the rifle has a higher rate of fire and a longer range, deals about half as much damage.

I had a hand in some minor changes to the game as well, such as correcting collision and a UI for the player health.

Leave a comment

Log in with itch.io to leave a comment.