Zombie Shooter in Virtual Reality (WORK IN PROGRESS)

Objective: Design & execute a zombie shooter game
VR build Software: Unity 2020.3.19f1 and C# in Visual Studio
HMD: Oculus Quest 2
Date: 23-24th March 2022

 

Result

 

Notes: WIP

Process/Documentation Below

Features

  • Random zombie spawn locaion

  • Weapon fatal/not fatal damage dealt

  • Zombie limb regrowth if not faal

Zombie Spawner Script

Notes:

- Designate an array of spawn points
- Selects 1 spawn point at random
- Instantiates zombie prefab at randomly selected spawn point

Zombie Limb Regrowth Script

Notes:

- Gets transform of initial limb positions
- Destroys shot limb in 10 seconds
- Determines if weapon is used during OnCollisionEnter method
- If fatal damage, kill zombie

Gun Script

Notes:

- Spawns a bullet from gun
- Must be aware of local position forward

Next
Next

VR | Welcome to the Desert