Skip to content

paritheplatypus/TheLastPatient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 

Repository files navigation

๐Ÿ•ฏ๏ธ The Last Patient

A VR escape room experience built in Unity 2022.3.6f1, designed for the Meta Quest 3.
Navigate through a dark, abandoned asylum using a flashlight, and find the Morgue to escape!

Check out a demo.


๐ŸŽฎ Gameplay Features

  • Joystick Movement: Move using the left thumbstick.
  • Flashlight Mechanic: Spot Light attached to head (Main Camera).
  • Victory Condition: Reach the invisible trigger at the 'target' spot to win.
  • Victory UI: World-space canvas displays "YOU ESCAPED!" on success.

๐Ÿ› ๏ธ Development Instructions

  1. Movement:

    • XR Origin has Character Controller and Continuous Move Provider.
    • Left-hand Move Action mapped to primary 2D Axis (left joystick).
  2. Flashlight:

    • Spot Light parented to Main Camera.
    • Range: 20โ€“30 units.
    • Spot Angle: ~45โ€“60 degrees.
  3. Victory Trigger:

    • Invisible Box Collider (IsTrigger enabled) near the 'target' spot.
    • WinTrigger script detects player collision and activates Victory UI.
  4. Lighting Settings:

    • Realtime lighting (no baked lightmaps).
    • Skybox ambient environment.
  5. Controls:

    • Walk: Left Thumbstick (or W/A/S/D during editor simulation with keyboard script).
    • Look: Head rotation (via Main Camera).

๐Ÿ“ฑ Testing & Deployment

  • In Editor:
    • Simulate movement using keyboard W/A/S/D or manual XR Origin dragging.

๐Ÿš€ Project Setup

Project folder: https://mailmissouri-my.sharepoint.com/:f:/r/personal/ppf2d_umsystem_edu/Documents/TheLastPatient?csf=1&web=1&e=dyXIKv

  1. Unity Version:

    • Unity 2022.3.6f1 (LTS)
    • 3D Core Project Template (not URP/HDRP)
  2. Required Unity Packages:

    • XR Plugin Management
    • XR Interaction Toolkit
    • TextMeshPro (for UI)
  3. Required External Assets:

  4. XR Settings:

    • XR Plugin Management โ†’ Oculus Provider (Standalone + Android)
    • OpenXR Runtime โ†’ Set to Oculus
    • XR Origin (Room-Scale) added for player control
    • Continuous Move Provider (Action-Based) for joystick movement

๐Ÿ“‹ Future Improvements

  • Add sound effects (footsteps, ambient asylum noises).
  • Add interactive doors and puzzles.
  • Implement a flashlight battery mechanic (power draining over time).
  • Add fade-out transition when escaping.
  • Deploy full APK build to Quest 3 for untethered VR experience.

Built with passion for horror exploration and immersive storytelling. ๐Ÿš๏ธ๐Ÿ”ฆ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors