This Repository is a VR Game written in C# in combination with Unity. It's part of a Study Project from our university (HWR Berlin).
This Game is a VR-Sword Game where the player needs to clear different levels. To be able to get to a new level, the player needs to kill every enemy in the previous one.
- VR-Sword Combat with lightsaber (sword)
- throw and recall the sword
- different types of enemies
- level based progress
- small physical events (climbing, button press)
- VR Meta Quest 3
- Unity
- XR Interaction Toolkit
- C#
- GitHub
- Local Storage
It is planned to release it somehow in the Meta Horizon Store. Nonetheless you can clone the Repository and set everything up yourself to play it. Follow these steps:
- Get a Meta Quest 3
- Activate the Developer Mode
- Install Unity (Unity 2022.3.33f1 LTS)
- Install Android SDK directly with Unity
- Clone the Repository and open it with Unit
- If not already satisfied with cloning the project import following packages: a. XR Interaction Toolkit b. XR Plugin Management c. XR Hands
- Use following Project Settings: a. Color Space: Linear b. Minimum API Level: Android 10.0 (29) c. Active Input Handling: Both or New
- In Project Settings Tab XR Plug-In Management select: a. Android and tick "OpenXR" b. in Tab OpenXR Add as Enabled Interaction Profile "Oculus Touch Controller Profile" and activate "Meta Quest Support" (only needed for building)
- Use following Build Settings: a. Switch to Android b. Select all Scenes you want to build c. Select the VR as Default Device
- Hit Build And Run
Use the VR Controller to Navigate. Swing your arm to use the sword and use the Grip-Button to hold things or recall the sword. If you see a Push Button in the VR World use your hands to push it.
DO NOT WALK WHILE WEARING THE VR GLASSES. This can lead to serious injuries.
Mihoshi Nasser Lukas