Skip to content

Sample VR game for Windows Mixed Reality immersive headsets where you shoot asteroids at planets.

Notifications You must be signed in to change notification settings

ActiveNick/SpaceBallsVR

Repository files navigation

SpaceBallsVR

Sample VR game for Windows Mixed Reality immersive headsets where you shoot asteroids at planets. This game is used to teach Windows Mixed Reality development at conferences using a step-by-step approach. This demo was premiered at CodeMash in Sandusky, OH in in January 2018 and used in subsequent sessions and workshops at various developer events.

This is a work in a progress that I am sharing publicly as I add features. This project is shared "as is" for educational purposes only.

Scene View

  • Unity version: 2017.4.3f1
  • Mixed Reality Toolkit version: 2017.2.1.1 download here

Implementation Notes

  • This sample works both on Windows Mixed Reality Immersive (VR) headsets and HoloLens. On HoloLens, the starry Space skybox is replaced with a black background so it's transparent.
  • Use the controller Trigger button to shoot asteroids at the planets (or Air Tap on HoloLens).
  • Use the Grasp (side) button on the controller to grab planets and drag them around the scene (not available on HoloLens for now). The ParticleHolder prefab is not used in the scene. It is just a placeholder prefab to hold the preconfigured particle effect of the asteroid explosion so you can apply it to other objects.
  • This sample uses Microsoft Cognitive Services for the Text-to-Speech (TTS) integration. Please refer to my Unity Text-to-Speech sample here for more information on the code behind and to obtain an API key to call this cloud API.

Acknowledgements

Follow Me

About

Sample VR game for Windows Mixed Reality immersive headsets where you shoot asteroids at planets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published