Skip to content

kravishan/Sheep-and-Aliens

Repository files navigation

Sheep-and-Aliens

This is a VR project created as a part of a homework assignment for a course. The objective of the project is to create a magnifying lens and implement a two-handed grabbing system in VR.

Badges

MIT License GPLv3 License AGPL License

Features

-This is a small game where the objective is to find the key and enter the cave. However, be mindful that the sheep will follow you throughout the game.

-The game takes place at night, so you will need to light up your surroundings to see. But if you find the key, the light will automatically turn on.

-I attached two image about lamp and button in the start scene. Maybe It will be hard to find because darkness of the environment.

-Beware of the enemies; there are three in total, with one moving randomly. Additionally, there are four houses, two of which have food for the sheep while the other two have enemies. The sheep cannot go near the enemies as it will die, and if that happens, the whole scene will turn red.

-To enter the cave, you must have the key. Follow the hints given in the game to find the houses with food for the sheep. Although there is a script that kills the player if they drop into the water, it is not yet complete.

-To grab the key and open doors in the game, use the trigger button.

-Note that the game uses code to track VR controller movements, which may sometimes work perfectly and at other times, cause shaking. If this happens, you will need to restart the game.

I have attached an image to show the location of the key. Please refer to it to save time in finding the key, rather than having to light up the environment to search for it.

Installation

To use this Unity project, you will need to have Unity installed on your computer. You can download the latest version of Unity here.

Once you have Unity installed, follow these steps to install the project:

  • Clone or download this repository to your local machine.
  • Open Unity and click "Open".
  • Navigate to the project folder and select the Unity-VR-Assignment folder.
  • Unity should load the project automatically. If not, click on the project in the Unity Hub to open it.

That's it! You should now be able to run the project in Unity and build it for your desired platform. If you run into any issues or have any questions, please feel free to reach out.

Conclusion

This project demonstrates how to create a VR environment in Unity and enable basic interaction and movement using C# scripting. The project can be used as a starting point for more complex VR projects or as a learning tool for those new to Unity and VR development.

Documentation

Documentation

Credits

This project was created by Kavindu Ravishan. The tutorial for creating a VR game was used as a reference. The assets used in the project were either provided in the tutorial or download from Unity Asset Store.

About

This is a Unity-based virtual reality game

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published