Shooting
Last Survivor » Devlog
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.
Get Last Survivor
Last Survivor
Shoot many zombies as possible!
Status | In development |
Author | amh271999 |
Genre | Survival, Shooter |
Tags | 3D, First-Person, Horror |
More posts
- ImprovementsJun 18, 2021
- User TestingJun 05, 2021
- SoundJun 05, 2021
- Game OverJun 05, 2021
- Pause MenuJun 05, 2021
- Main MenuJun 05, 2021
- Player StatsJun 05, 2021
- Spawning EnemiesJun 05, 2021
- HealthJun 05, 2021