Guardians of the Moon

Guardians of the Moon

How do you make a visit to an AR/VR centre feel like a mission rather than a demo?

Role: Unity (C#) Engineer — Design & Implementation

Wrote the scripts for a VR-ready asteroid shooting mini-game in Unity (C#): asteroid spawning and behavior, raycast shooting, score and timer management, popups, XR grab and haptics, for a play experience that feels intuitive.

Technical decisions

  • Unity + XR Interaction Toolkit for native controller haptics and grab interactions
  • Distance-based score bonus rewards risky long shots, giving play a skill curve in a one-minute session
  • TouchDesigner for the installation so visuals could be tuned live on site in a one-week build

Responsibilities

  • Asteroid spawn control (range and interval spawning, Gizmos display)
  • Asteroid behavior (random speed/rotation, movement logic)
  • Raycast shooting logic (animation and SFX playback, hit detection)
  • Hit handling and score calculation (distance-based bonus, popup generation)
  • Game loop management (timer, score UI, high score save, BGM switching)
  • VR integration (XRGrabInteractable reset on release, controller haptics)
  • UI and popups (TextMeshPro score display, camera-facing control)

Achievements

  • A shooting experience that feels natural and is tuned for VR controls
  • Distance-based scores and popups give players clear feedback as they shoot
  • A modular script structure keeps the code reusable and readable

Technologies

C#Unity (UnityEngine / UnityEngine.UI)TextMeshProXR Interaction ToolkitAnimator (animation control)AudioSource / AudioClip (BGM / SFX)Prefab / Gizmos
Visit Site
Guardians of the Moon | Project Description