itch.io is community of indie game creators and players

Devlogs

Shooting

Last Survivor
A downloadable game for Windows and macOS

The 2 guns contained a shooting script that controls the fire rate and damage. The screenshot above shows the weapon shoot function. It requires the E key to shoot and the shoot animation will also be played since I called the weapon manager script. Revolver has a single fire type whereas the assault rifle has multiple fire type. 

I will be using raycast hit to shoot zombies and damage will be inflicted on them. The raycast will be followed with the main camera to ensure that player is shooting enemies without any problems. 

Download Last Survivor