Project #2: Every Day Is Halloween

Every Day is Halloween is a Virtual Reality Funhouse App made using Unity and VRTK

Demo Video

Please watch the following video for a quick demonstration of the app and its features:

Downloads

View project on GitHub

Download Windows Executable

Discussion

CS 491 Project 2 Single Page Report

Table of contents

  1. Demo Video
  2. Downloads
  3. Discussion
  4. Table of contents
  5. Team
  6. How to use
  7. Player Controls (for HTC Vive)
  8. Project Description
  9. Directions through the House
    1. Living Room –> Corridor
    2. Corridor –> Cellar
    3. Cellar –> Corridor
    4. Corridor –> Kitchen
    5. Kitchen –> Stairway
    6. Stairway –> Bedroom
    7. Bedroom –> Finishing the Game
  10. Detailed description of objects in the rooms
    1. Living Room
    2. Corridor Room
    3. Cellar Room
    4. Kitchen Room
    5. Stairway Scene
    6. Kids’ Bedroom
    7. Environment

Team

How to use

For the best experience, you will need to have a virtual reality headset, such as HTC Vive or Oculus Rift. This project has been tested on HTC Vive. If you don’t have access to a VR headset, you may use the built-in Simulator; instructions to use the simulator will be provided on the screen.

  1. Download the source code from GitHub
  2. Open the project using Unity
  3. Open Scenes => MainScene. Make sure no other scene is loaded

Alternatively, you may download a pre-built executable file from the GitHub releases page. However, please note that the lighting will not work realistically, so it’s highly recommended that you run it from inside Unity.

  1. Go to the center of your playing area, otherwise you might spawn inside a wall, and everything will be black (with your controllers vibrating)
  2. Run the project (if using Unity), or the downloaded executable
  3. If the player spawns slightly above the ground, use the Menu button to fix it

Player Controls (for HTC Vive)

  1. Grab Objects: Press Trigger button to grab an object and hold it to keep grabbing. There is no need to hold the trigger to keep on grabbing the Flashlight.
  2. Toggle Flashlight: Press the Touchpad button to toggle the flashlight switch while grabbing a flashlight
  3. Recenter Play Area: Press the Menu button to recenter the world in your physical play area. Handy if the player spawns above the normal height, or if the world gets pushed for some reason

Project Description

We decided to make a scary house for our project. The house consists of 4 main rooms, 2 rooms to navigate between the 4 main rooms, and an outdoors environment.

Directions through the House

Living Room –> Corridor

When the game starts the player is spawned in the living room. The living room has only one door which leads into the corridor. The player must perform a task in the living room to open the door to the next room. When the living room door is opened the player can move through the opened door into the corridor which leads to the cellar room and the kitchen.

Corridor –> Cellar

The corridor has three doors, one to enter the living room, another to enter the cellar room and the third to enter the kitchen. On entering the corridor, the living room door shuts and the door to the cellar room opens. The player can then only enter the cellar room. On entering the cellar room, the cellar door shuts and traps the player into the cellar.

Cellar –> Corridor

The cellar room only has one door to enter and exit. The exit leads to the corridor. As the cellar door is closed shut, the player must perform a task to open the cellar door to enter back into the corridor. On performing the cellar door opens leading back into the corridor.

Corridor –> Kitchen

On entering back into the corridor, the cellar door shuts so the player cannot enter back into the cellar and the kitchen door opens. Since the living room door is already shut the player is forced to enter the kitchen.

Kitchen –> Stairway

The kitchen has two doors. One leading from the corridor and the other leading into the stairway. On entering the kitchen from the corridor, the corridor door shuts. The door which leads into the stairway also shut. The player must perform a task to open the stairway door and enter the stairway.

Stairway –> Bedroom

The stairway has two doors one on the 1st floor which leads into the kitchen, and a door on the second floor which leads into the kitchen. The stairway scene has a stairway which connects the ground and first floors. On entering the stairway room from the kitchen, the door to the kitchen closes and the door to the bedroom on the first floor opens. The player must walk up the stairs to enter the bedroom.

Bedroom –> Finishing the Game

In the bedroom there is only one door which leads back to the staircase. On entering the bedroom, bedroom door closes, and the player must complete a task to finish the game.

Detailed description of objects in the rooms

Living Room

Task to Complete

On starting the VR application, the player is spawned in the living room. The door in the living room is locked. To open the door to exit the living room, the player must search for the flashlight and turn on the flashlight. The flashlight is hidden in the top left cabinet of the cupboard in the living room. The player can grab the flashlight with any controller. Once the flashlight is in the players hand the player press the track pad to turn on and off the light.

We used more than 20 unique models for the living room and 5 custom objects.

Screenshots

Living Room Living Room Living Room Living Room Living Room Living Room Living Room Living Room

Models

Following is the list of all the assets used. Assets downloaded from various sources have been provided with a hyperlink. The ones missing hyperlinks, have been created by us.

  1. Wall Left with Window: Created on our own
  2. Wall Right with Window: Created on our own
  3. Living Room Back Wall: Created on our own
  4. Living Room Wall Front: Created on our own
  5. Window Left: Window placed in left wall window ceiling
  6. Window Right: Window placed in right wall window ceiling
  7. Cupboard: Cupboard placed in front of the front wall of the room
  8. Flashlight: Inside cupboard
  9. Flat Screen TV: TV placed on back wall; created on our own
  10. Table: Wooden table placed in front of right wall.
  11. Lamp 1: Lamp placed above the left window.
  12. House Plant: Plant placed on table
  13. Spiders: Animated spiders placed at several places
  14. Books: Placed on the cupboard
  15. Sofa Chair
  16. Pillows: Placed on Sofa
  17. Picture Frame Left: Picture frame on left wall; created on our own
  18. Picture Frame Right: Picture frame on right wall; created on our own
  19. Scary Image 1
  20. Scary Image 2
  21. Zombie Character: Animating zombie character. This character is initially placed in front of the door and is performing the attacking motion with one hand. Once you walk over towards the cupboard, the zombie starts moving towards the right wall
  22. Scary Image 3
  23. Blood: On Left Wall
  24. Blood on Floor
  25. Vase: Vase placed in front of right wall
  26. Calculator: Calculator in bottom right shelf of cupboard
  27. Punching Machine: In bottom-left shelf of cupboard
  28. Yellow Pencil: Pencil placed on cupboard
  29. Zombie Head: Zombie head in top shelf of the cabinet
  30. Spider Web: Spider web placed on walls

Custom Models

  1. Deck of Cards on the Cupboard.
  2. Flat Screen TV on the front wall.
  3. Picture Frames on left, right walls.
  4. Large Picture frame on back wall.
  5. Old Book on the cupboard.
  6. Table next to the right wall on which a plant is kept.
  7. Living Room Back Wall

Sounds and Video

  1. Piano Background Music
  2. Zombie Screaming Sound
  3. Drawer Opening Sound
  4. Video
  5. Flashlight Toggle

Interactions

  1. 4 Cabinets on the cupboard
  2. 2 Zombie heads
  3. Pillows
  4. Doll
  5. Plant
  6. Pencil
  7. Hole Puncher
  8. Calculator
  9. Book
  10. Books

Triggers

  1. When the player grabs and turn on the flash light the living room door opens, and the sound is played.
  2. When the player walks next to the cupboard the drawers of the cupboard open and a sound is played. The zombie starts walking away from the door.
  3. When the player stands in front of the TV a scary video starts playing and the background music get paused. On walking away from the TV, the video pauses and the background music starts.
  4. When the room is loaded the background music starts
  5. When the player walks next to the drawers of the cupboard, the drawers open and a sound is played.
  6. When the player walks away from the drawers of the cupboard a sound is played and the drawers close.

Corridor Room

The corridor room had three doors. One to open into the living room, second which opens into the cellar room and the third which opens into the kitchen.

Screenshots

Corridor

Room Models

  1. Door 1: Door opening into loving room https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  2. Door 2: Door opening into cellar room https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  3. Door 3: Door opening into bathroom https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  4. Window: Window to look outside the house https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  5. Window wall: Wall in which window is placed Created on our own

Cellar Room

Task to Complete

When the player enters the cellar room from the corridor, the cellar room door closes locking the player in the room. The player must interact with two beer cans placed on a circular table to unlock and open the door back into the corridor to move to the next room.

Screenshots

Cellar Room Cellar Room Cellar Room Cellar Room Cellar Room

Models

  1. Wall Left with Window. Created on our own
  2. Wall Right with Window. Created on our own
  3. Cellar Room Wall Back. Created on our own
  4. Cellar Room Wall Front.
  5. Window Left: Window placed in left wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  6. Window Right: Window placed in right wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  7. Candle 1: Candle placed on Circular table.
  8. Candle 2: Candle placed on table.
  9. Candle 3: Candle placed on bar.
  10. Candle 4: Candle placed on barrel.
  11. Candle 5: Candle placed on window ceil.
  12. Candle 6: Candle placed in chandelier. https://sketchfab.com/models/f9ed3b934fa34ca1847994470ce5bdc6
  13. Poison Can: Can placed on window ceil.
  14. Bottle on Bar Table: Made by us.
  15. Hammer on Circular Table: Made by us.
  16. Cup on Circular Table: Made by us.
  17. Plate 1: Plate on circular table: Made by us.
  18. Plate 2. Plate on circular table: Made by us.
  19. Barrel: Barrel placed behind the room. Made by us.
  20. Barrel textures: gametextures.com
  21. Bar Table:https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  22. Bar stool 1: Stool placed in front of bar. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  23. Bar stool 2: Stool placed in front of bar. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  24. Chair: Chair next to circular table. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  25. Circular Table: https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  26. Square Table: https://assetstore.unity.com/packages/3d/props/furniture/small-pack-furniture-56628
  27. Lumpy Plaster Wall Material: https://beta.gametextures.com/freebies/380631
  28. Beer Jug 1: Animating beer jug placed on circular table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  29. Beer Jug 2: Animating beer jug placed on circular table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  30. Wine Jug: Wine jug on square table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  31. Wine Bottle: Wine bottle on square table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  32. Wine Bottle: Wine bottle on bar table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  33. Creepy doll head: Animating creepy doll baby head on barrel. https://sketchfab.com/models/05466f98b03e4a6bb35ee0d89d02ed18
  34. Joker Head: Breakable joker head on bar. https://sketchfab.com/models/36ae9d7d193d49f8bc70dc109edc56c0
  35. Batman Weapon on Bar: https://sketchfab.com/models/36ae9d7d193d49f8bc70dc109edc56c0
  36. Lizard animated 1: Lizard on circular table. https://sketchfab.com/models/74a4ff6e46f94195acbf74b858f9e99a
  37. Lizard animated 2: Lizard on circular table. https://sketchfab.com/models/74a4ff6e46f94195acbf74b858f9e99a
  38. Plate 3: Plate on square table. Made by us.
  39. Snakes: Animating snakes on square table. https://sketchfab.com/models/47b9bdcdaf3242469afd7adaf97dfcd4?ref=related#download
  40. Rat 1: Rat on bar stool. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
  41. Rat 2: Rat on bar stool. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
  42. Rat 3: Rat on circular table. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
  43. Rat 4: Rat on square table. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e

Custom Models

  1. Hammer: Placed on circular table
  2. Blue Cup: Placed on circular table.
  3. Poison Can: Placed on right window.
  4. Flask: Placed on bar counter.
  5. Barrel: Placed behind bar.
  6. Cellar Room Wall Back.

Sounds

  1. Zombie Scream 2: Sound played randomly. https://opengameart.org/content/zombies-sound-pack or https://opengameart.org/content/screaming
  2. Door opening squeaking: Sound played when user completes interaction with both beer cans.
  3. Knock on Door 1: Sound played when user interacts with beer. https://opengameart.org/content/12-3-knocks-wooden-doors
  4. Bottle break sound: Sound played when the clown head breaks. https://opengameart.org/content/breaking-bottle
  5. Background Music:
    https://opengameart.org/content/haunted-woods-horror-drone
  6. Fizzle Sound: Played Randomly

Interactions

  1. 4 Rats.
  2. 2 Beer.
  3. 3 Plates.
  4. Wine Jar.
  5. 2 Wine Bottles.
  6. Poison Can.
  7. Hammer.
  8. Cup.
  9. Flask.

Triggers

  1. When the player enters the cellar, the cellar door locks and closes.
  2. When the player goes near the bar, the bat weapon animates and breaks the joker skull.
  3. When the player completes interaction with the beer can a knocking sound is played.
  4. When the plyer completes interaction with both beers cans the cellar door unlocks and the door opens, a squeaking door sound is played.

Kitchen Room

When the player enters the kitchen room from the corridor, the kitchen room door closes, locking the player in the room. The kitchen room has another door which goes to the stairway. The player must interact with 5 objects in the kitchen room unlock and open the door to the corridor.

Screenshots

Kitchen Room Kitchen Room Kitchen Room Kitchen Room Kitchen Room Kitchen Room

Models

  1. Wall Left with Window. Created on our own.
  2. Wall Right with Window. Created on our own.
  3. Kitchen Room Wall Back. Created on our own.
  4. Kitchen Room Wall Front.
  5. Window Left: Window placed in left wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  6. Window Right: Window placed in right wall window ceil.
  7. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
  8. Counter: Green counter in back. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  9. Cupboard: Brown Cupboard. Made by us.
  10. Ceiling light: Light on ceiling. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  11. Jill: Animating character. https://www.mixamo.com/#/?page=1&type=Motion%2CMotionPack
  12. skull 1: Skull on the floor. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
  13. skull 2: Skull in the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
  14. skull 3: Skull in the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
  15. skull 4: Skull on the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
  16. skeleton: Skeleton in the middle of the room. https://sketchfab.com/models/ef853171dc334d3b8cdf93504a1f7e00
  17. Pot: Pot placed on counter. Created on Own.
  18. Pot Material: Material used for the pot. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  19. Snakes: Snakes on floor. https://sketchfab.com/models/47b9bdcdaf3242469afd7adaf97dfcd4?ref=related#download
  20. Pan: Pan placed on counter. Created on own.
  21. Ladle: Ladle placed on green counter. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  22. Spoon: Spoon placed in cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  23. Jug: Jug placed on top of cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  24. Medical Saw: Saw placed on the floor: https://sketchfab.com/models/88ee16fac4244004a07ba4b2b24b9a51
  25. Jora Man Head: Head on the floor below sink. https://sketchfab.com/models/4124236c8a654af6be76461cb5234b79
  26. Cup: Cup placed in cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
  27. Cake: Cake placed on table. https://sketchfab.com/models/10e171454c1148be96e684fcf3b48d3b
  28. Single Lit candle for cake: Candle placed on table. https://sketchfab.com/models/87909b23fead412dba98a6bb6ef6e7d4#download
  29. Knife: Knife placed on table. https://sketchfab.com/models/095e56bb3515490ba7c818ae61955b5e
  30. Pumpkin Small: Pumpkin placed on the floor. https://sketchfab.com/models/5866a5b13bac4a01918d2b1eb80ad2ff
  31. Pumpkin Big: Pumpkin placed on the floor
  32. Fish: Fish placed on table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  33. Watermelon: https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  34. Potion Big: Potion bottle placed in cupboard. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  35. Potion Small: Potion bottle placed in cupboard. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  36. Adidas Image For Material: https://www.google.com/search?rlz=1C1CHBF_enUS816US816&biw=1366&bih=608&tbm=isch&sa=1&ei=62_JW8z4F8OwtgX6jKi4DA&q=adidas+textures&oq=adidas+textures&gs_l=img.3…2348.4517..4938…0.0..0.66.512.9……1….1..gws-wiz-img…….0j0i67j0i30j0i8i30j0i24.lqFtE2mo1VE#imgrc=62wGP5yWLoBeRM:
  37. Steak: Steak on the floor: https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
  38. Bones: Bones on the floor. https://sketchfab.com/models/677378a849b04ae5babf769a7c1f2f89
  39. Bread: Bread on the table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067

Custom Models

  1. Cupboard: Made by us.
  2. Sugar Jar: Made by us.
  3. Pot: Made by us.
  4. Pan: Made by us.
  5. Wall Left with Window.
  6. Wall Right with Window.
  7. Kitchen Room Wall Back.

Interactions

  1. Potion big
  2. Potion Small.
  3. Steak.
  4. Cake
  5. Fish
  6. Candle.
  7. Bread.
  8. Pumpkin big
  9. Pumpkin small
  10. Spoon
  11. Cup
  12. Jug
  13. Watermelon.

Triggers

  1. When the player enters the kitchen the kitchen door closes and locks.
  2. When the player enters the kitchen, the skeleton starts animating left and right and a bones sound is played.
  3. When the player interacts with any of the interactable objects a sound is played.
  4. When the players goes near the skeleton, the lungs inside the skeleton start animating and the lung sound is played.
  5. When the user interacts with 5 interactable objects the door to the stairway opens and the door squeaking sound is played.

Sounds

  1. Zombie Screaming 3: Played randomly when user is in the room. (nmh scream 1)
  2. Evil Laugh: Played when the player interacts with certain objects in the room.
  3. Door Opening Sound: Played when the user completes the task to unlock and open the door to the stairway.
  4. Door Knock 2: Played when the player interacts with certain objects in the room.
    https://opengameart.org/content/12-3-knocks-wooden-doors
  5. Background Music: https://www.youtube.com/watch?v=-zvQoPyY2XE
  6. Bones Clattering: Played when user enter the room. https://opengameart.org/content/bones-2

Stairway Scene

The stairway scene is used to enter the bedroom by climbing the stairs. The stairway scene has two doors. One door to enter from the kitchen and the other door which is up the stairs to enter the bedroom.

Stairway

Kids’ Bedroom

When the player climbs up the stairs, the door to the kids’ room opens, and closes when the player moves inside. The room features a doll who is always looking at the player and talks when the player is nearby. There is a ghost near the left wall window. The player must find all the 5 alphabet blocks and place them on the table, where the doll is sitting, to open the door and exit the house.

Models

  1. Cupboard: The cupboard placed right in front of the door
  2. Baby Seat: The seat on which the big doll is sitting
  3. Circus Baby Doll: The big doll sitting on the baby seat
  4. Creepy Doll: Inside the left drawer
  5. Creepy Doll Head: Inside the left drawer
  6. Voodoo Doll: Inside the right drawer
  7. Train: Inside the bottom-right cabinet of the cupboard
  8. Soft Toys: 6 soft toys placed on the shelves of the cupboard
  9. Top: On the last shelf of the cupboard
  10. Fire Truck: On the floor, near the right window
  11. Doll hand: On the floor, near the crib
  12. Car: On the floor, near the left window
  13. Glow-in-the-dark stars: On the walls and the ceiling
  14. Arches: On the floor, in the middle of the room
  15. Phantom Ghost: Appears when peeking from the left window
  16. Building Blocks: Inside the crib
  17. Alphabet Blocks: 3 blocks kept on the baby seat’s table, 1 in the bottom-left cabinet, and 1 in the right drawer

Screenshots

Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom Bedroom

Custom Models

  1. Crib
  2. Pillow
  3. Quilt
  4. Lamp
  5. Fan

Interactions

All objects except:

  1. Cupboard
  2. Crib
  3. Fan
  4. Baby Seat
  5. Phantom Ghost
  6. Circus Baby Doll

Triggers

  1. The big doll always looks at the player
  2. When the player enters the the room, door closes and locks.
  3. When player goes near the doll, the doll speaks/sings, and lights flicker
  4. When trying to peek from the left window, a ghost appears with lightning
  5. When going near the cupboard, the ghost says “I see you…”
  6. When the player puts all the alphabet blocks on the table near the doll (“On” the table, not on top of one another), lights go out and flicker, background music starts playing, and it thunders outside. After few seconds, the door opens and the player can go downstairs in the balcony and enjoy the weather, and view

Sounds

  1. Thunder
  2. Demon Girls Mocking Bird Song
  3. Little Demon Girl Song
  4. Where’s My Mommy
  5. Fizzle (when lights flicker)
  6. High Pitch Scream
  7. Evil Laugh
  8. Creepy Doll Music
  9. I see you

Environment

The model can be found here – Baba Yaga’s Hut

Environment Environment


[Edit] October 23, 2018: Uploaded new video since we forgot to switch off the mic last time. The previous video can be found here.

[Edit] October 26, 2018: Fixed some issues with the formatting.