GitHunt
TU

tuminguyen/EkVillain_VR

This is my first VR project using Unity and C#

EK VILLAIN

Ek Villain is a Hindi word for a villain in English.


THE STORY

You were teleported back to ancient Egypt n 300 BC. At there, you can see the pyramid, the guards and zombies.
You are equipped with a sniper.
On the table you have a magnifier, binocular and some sci-fi guns. Most of them are for decoration except the magnifier, you can grab it.
There is a couple of zombies hidden on the scene (on the right near the cat statues) and you have to you use gun scope or magnifier to see.
You are not supposed to jump out of the carpet. If you trying to do so, you would die and the game is over.
The people do not harm you but you can still shoot at them if you want cuz you are a villian.


USAGE

Action:

  • A: zoom in the sniper's scope

  • B: shoot

Health:

  • Table: 300

  • Decoration (vases): 100

  • The lich/ pyramid guardian: 700

Damage: 100. Therefore, you need to take 3 shots for the table, 7 shots for lich and 1 for others.


THINGS I USED IN THIS PROJECT

Audio:

  • Theme

  • Gun shot

Annimation:

  • Iddle gun

  • Scoped gun

C# code:

  • control movement/rotation of objects

  • Scoping

  • Shooting and taking damages

  • create an Audio Manager: easier to manage audio in the project within a script


NOTES: This project still get a bug that regardless how far the range I set for the sniper, it cannot shoot down the far away objects so in this project we can only shoot the near objects.
Therefore, I make the guardian/the lich (only 1 lich) move towards to the player then we can shoot. The black dot displays what's the gun is targetting.

Languages

ASP.NET100.0%

Contributors

MIT License
Created March 12, 2021
Updated June 12, 2025