Skip to content

ykarpi/Haunted-House-Escape-Vuforia-Unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Haunted House Escape!

Contributors: Yehor Karpichev, Alex Deaconu, Dina El-kholy.

The augmented reality application for Android - the project is done as part of the Lab 3 assignment for IMTC 505 course. Unity 2022.3.45f1 is used along side with the Vuforia to create an AR application.

Project Setup:

  • git clone the main branch
  • Download tar file from here and place it in the Packages folder (same location as the manifest.json file)

Used assets:

Description

In this immersive experience, players are trapped in a haunted mansion and must interact with various cursed objects to find their way out. The first interaction occurs when the player scans a first mysterious ImageTarget, triggering a startling jump scare as a ghost unexpectedly appears. In the second encounter, a skull presents a riddle that players must solve. The final interaction reveals a door, behind which lies a key crucial to their escape. Upon retrieving the key, you can successful escape from the haunted mansion.

Video Demo

Lab 3 Demo

Table of Contents

Ghost Interaction

The interaction marks the initial phase of the game. Once the AR camera detects the ImageTarget, a jump scare is triggered to startle the player. Furthermore, a "scaring" sound effect is added to provide a more realistic and immersive experience. The jump scare implementation is achieved by displaying a nearly full-screen image of the ghost asset on Canvas in a 2D plane. However, after 3 seconds, the jump scare fades, and the 3D model of the ghost is rendered in AR whenever the ImageTarget is detected. Additionally, as the player moves, the ghost model will continuously follow and remain oriented towards the player.

Skull Riddle

On our second image target, a skull appears, with the text asking the user a riddle. The answer to our riddle is echo, and once the user gets the riddle correct, the text changes to inform the user that they’ve broken the skull’s curse, and the skull disappears.

Door Animation

Our door interaction image target is the one which the user can use to escape. Upon target detection, a door appears. When the user taps on the door, the door opens via an animation, and the sound changes to birds chirping, and some text appears in green, informing the user that they’ve escaped.

Future Works

Since the primary purpose of this implementation was learning, we see numerous possibilities for the future works that would transform our concept into a fully developed AR game. Some of the ideas include:

  • Develop a menu UI (start menu, options, exit, etc)
  • Organize our interactions as levels - for example, the player wouldn't be able to open the door (3rd interaction) before going through the ghost (1st interaction) and solving the skull's riddle (2nd interaction).
  • Add more interactions, sound effects, and animations.
  • Consider other options provided by Vuforia, like ground plane or mid air target placements, etc.

Useful Tutorials:

As part of the assignment, we'd like to acknowledge the following tutorials that were very helpful in the learning process:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ShaderLab 63.7%
  • C# 25.2%
  • HLSL 11.1%