Project #2: Every Day Is Halloween
22 Oct 2018Every 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
Discussion
CS 491 Project 2 Single Page Report
Table of contents
- Demo Video
- Downloads
- Discussion
- Table of contents
- Team
- How to use
- Player Controls (for HTC Vive)
- Project Description
- Directions through the House
- Detailed description of objects in the rooms
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.
- Download the source code from GitHub
- Open the project using Unity
- 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.
- Go to the center of your playing area, otherwise you might spawn inside a wall, and everything will be black (with your controllers vibrating)
- Run the project (if using Unity), or the downloaded executable
- If the player spawns slightly above the ground, use the
Menu
button to fix it
Player Controls (for HTC Vive)
- 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. - Toggle Flashlight: Press the
Touchpad
button to toggle the flashlight switch while grabbing a flashlight - 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.
- Four Main Rooms
- Living Room
- Cellar Room
- Kitchen Room
- Bedroom Room
- Two Navigation Rooms
- Corridor Room
- Stairway Room
- Environment
- Environment outside the house
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
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.
- Wall Left with Window: Created on our own
- Wall Right with Window: Created on our own
- Living Room Back Wall: Created on our own
- Living Room Wall Front: Created on our own
- Window Left: Window placed in left wall window ceiling
- Window Right: Window placed in right wall window ceiling
- Cupboard: Cupboard placed in front of the front wall of the room
- Flashlight: Inside cupboard
- Flat Screen TV: TV placed on back wall; created on our own
- Table: Wooden table placed in front of right wall.
- Lamp 1: Lamp placed above the left window.
- House Plant: Plant placed on table
- Spiders: Animated spiders placed at several places
- Books: Placed on the cupboard
- Sofa Chair
- Pillows: Placed on Sofa
- Picture Frame Left: Picture frame on left wall; created on our own
- Picture Frame Right: Picture frame on right wall; created on our own
- Scary Image 1
- Scary Image 2
- 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
- Scary Image 3
- Blood: On Left Wall
- Blood on Floor
- Vase: Vase placed in front of right wall
- Calculator: Calculator in bottom right shelf of cupboard
- Punching Machine: In bottom-left shelf of cupboard
- Yellow Pencil: Pencil placed on cupboard
- Zombie Head: Zombie head in top shelf of the cabinet
- Spider Web: Spider web placed on walls
Custom Models
- Deck of Cards on the Cupboard.
- Flat Screen TV on the front wall.
- Picture Frames on left, right walls.
- Large Picture frame on back wall.
- Old Book on the cupboard.
- Table next to the right wall on which a plant is kept.
- Living Room Back Wall
Sounds and Video
Interactions
- 4 Cabinets on the cupboard
- 2 Zombie heads
- Pillows
- Doll
- Plant
- Pencil
- Hole Puncher
- Calculator
- Book
- Books
Triggers
- When the player grabs and turn on the flash light the living room door opens, and the sound is played.
- 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.
- 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.
- When the room is loaded the background music starts
- When the player walks next to the drawers of the cupboard, the drawers open and a sound is played.
- 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
Room Models
- Door 1: Door opening into loving room https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Door 2: Door opening into cellar room https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Door 3: Door opening into bathroom https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Window: Window to look outside the house https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- 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
Models
- Wall Left with Window. Created on our own
- Wall Right with Window. Created on our own
- Cellar Room Wall Back. Created on our own
- Cellar Room Wall Front.
- Window Left: Window placed in left wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Window Right: Window placed in right wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Candle 1: Candle placed on Circular table.
- Candle 2: Candle placed on table.
- Candle 3: Candle placed on bar.
- Candle 4: Candle placed on barrel.
- Candle 5: Candle placed on window ceil.
- Candle 6: Candle placed in chandelier. https://sketchfab.com/models/f9ed3b934fa34ca1847994470ce5bdc6
- Poison Can: Can placed on window ceil.
- Bottle on Bar Table: Made by us.
- Hammer on Circular Table: Made by us.
- Cup on Circular Table: Made by us.
- Plate 1: Plate on circular table: Made by us.
- Plate 2. Plate on circular table: Made by us.
- Barrel: Barrel placed behind the room. Made by us.
- Barrel textures: gametextures.com
- Bar Table:https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Bar stool 1: Stool placed in front of bar. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Bar stool 2: Stool placed in front of bar. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Chair: Chair next to circular table. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Circular Table: https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Square Table: https://assetstore.unity.com/packages/3d/props/furniture/small-pack-furniture-56628
- Lumpy Plaster Wall Material: https://beta.gametextures.com/freebies/380631
- Beer Jug 1: Animating beer jug placed on circular table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Beer Jug 2: Animating beer jug placed on circular table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Wine Jug: Wine jug on square table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Wine Bottle: Wine bottle on square table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Wine Bottle: Wine bottle on bar table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Creepy doll head: Animating creepy doll baby head on barrel. https://sketchfab.com/models/05466f98b03e4a6bb35ee0d89d02ed18
- Joker Head: Breakable joker head on bar. https://sketchfab.com/models/36ae9d7d193d49f8bc70dc109edc56c0
- Batman Weapon on Bar: https://sketchfab.com/models/36ae9d7d193d49f8bc70dc109edc56c0
- Lizard animated 1: Lizard on circular table. https://sketchfab.com/models/74a4ff6e46f94195acbf74b858f9e99a
- Lizard animated 2: Lizard on circular table. https://sketchfab.com/models/74a4ff6e46f94195acbf74b858f9e99a
- Plate 3: Plate on square table. Made by us.
- Snakes: Animating snakes on square table. https://sketchfab.com/models/47b9bdcdaf3242469afd7adaf97dfcd4?ref=related#download
- Rat 1: Rat on bar stool. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
- Rat 2: Rat on bar stool. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
- Rat 3: Rat on circular table. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
- Rat 4: Rat on square table. https://sketchfab.com/models/afeeccb10aa8457e9008558e841eda1e
Custom Models
- Hammer: Placed on circular table
- Blue Cup: Placed on circular table.
- Poison Can: Placed on right window.
- Flask: Placed on bar counter.
- Barrel: Placed behind bar.
- Cellar Room Wall Back.
Sounds
- Zombie Scream 2: Sound played randomly. https://opengameart.org/content/zombies-sound-pack or https://opengameart.org/content/screaming
- Door opening squeaking: Sound played when user completes interaction with both beer cans.
- Knock on Door 1: Sound played when user interacts with beer. https://opengameart.org/content/12-3-knocks-wooden-doors
- Bottle break sound: Sound played when the clown head breaks. https://opengameart.org/content/breaking-bottle
- Background Music:
https://opengameart.org/content/haunted-woods-horror-drone - Fizzle Sound: Played Randomly
Interactions
- 4 Rats.
- 2 Beer.
- 3 Plates.
- Wine Jar.
- 2 Wine Bottles.
- Poison Can.
- Hammer.
- Cup.
- Flask.
Triggers
- When the player enters the cellar, the cellar door locks and closes.
- When the player goes near the bar, the bat weapon animates and breaks the joker skull.
- When the player completes interaction with the beer can a knocking sound is played.
- 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
Models
- Wall Left with Window. Created on our own.
- Wall Right with Window. Created on our own.
- Kitchen Room Wall Back. Created on our own.
- Kitchen Room Wall Front.
- Window Left: Window placed in left wall window ceil. https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Window Right: Window placed in right wall window ceil.
- https://assetstore.unity.com/packages/3d/props/furniture/medieval-tavern-pack-112546
- Counter: Green counter in back. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Cupboard: Brown Cupboard. Made by us.
- Ceiling light: Light on ceiling. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Jill: Animating character. https://www.mixamo.com/#/?page=1&type=Motion%2CMotionPack
- skull 1: Skull on the floor. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
- skull 2: Skull in the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
- skull 3: Skull in the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
- skull 4: Skull on the cupboard. https://sketchfab.com/models/1a9db900738d44298b0bc59f68123393#download
- skeleton: Skeleton in the middle of the room. https://sketchfab.com/models/ef853171dc334d3b8cdf93504a1f7e00
- Pot: Pot placed on counter. Created on Own.
- Pot Material: Material used for the pot. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Snakes: Snakes on floor. https://sketchfab.com/models/47b9bdcdaf3242469afd7adaf97dfcd4?ref=related#download
- Pan: Pan placed on counter. Created on own.
- Ladle: Ladle placed on green counter. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Spoon: Spoon placed in cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Jug: Jug placed on top of cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Medical Saw: Saw placed on the floor: https://sketchfab.com/models/88ee16fac4244004a07ba4b2b24b9a51
- Jora Man Head: Head on the floor below sink. https://sketchfab.com/models/4124236c8a654af6be76461cb5234b79
- Cup: Cup placed in cupboard. https://assetstore.unity.com/packages/3d/props/old-kitchen-assets-71374
- Cake: Cake placed on table. https://sketchfab.com/models/10e171454c1148be96e684fcf3b48d3b
- Single Lit candle for cake: Candle placed on table. https://sketchfab.com/models/87909b23fead412dba98a6bb6ef6e7d4#download
- Knife: Knife placed on table. https://sketchfab.com/models/095e56bb3515490ba7c818ae61955b5e
- Pumpkin Small: Pumpkin placed on the floor. https://sketchfab.com/models/5866a5b13bac4a01918d2b1eb80ad2ff
- Pumpkin Big: Pumpkin placed on the floor
- Fish: Fish placed on table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Watermelon: https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Potion Big: Potion bottle placed in cupboard. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Potion Small: Potion bottle placed in cupboard. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- 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:
- Steak: Steak on the floor: https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
- Bones: Bones on the floor. https://sketchfab.com/models/677378a849b04ae5babf769a7c1f2f89
- Bread: Bread on the table. https://assetstore.unity.com/packages/3d/props/food/rpg-food-drinks-pack-121067
Custom Models
- Cupboard: Made by us.
- Sugar Jar: Made by us.
- Pot: Made by us.
- Pan: Made by us.
- Wall Left with Window.
- Wall Right with Window.
- Kitchen Room Wall Back.
Interactions
- Potion big
- Potion Small.
- Steak.
- Cake
- Fish
- Candle.
- Bread.
- Pumpkin big
- Pumpkin small
- Spoon
- Cup
- Jug
- Watermelon.
Triggers
- When the player enters the kitchen the kitchen door closes and locks.
- When the player enters the kitchen, the skeleton starts animating left and right and a bones sound is played.
- When the player interacts with any of the interactable objects a sound is played.
- When the players goes near the skeleton, the lungs inside the skeleton start animating and the lung sound is played.
- When the user interacts with 5 interactable objects the door to the stairway opens and the door squeaking sound is played.
Sounds
- Zombie Screaming 3: Played randomly when user is in the room. (nmh scream 1)
- Evil Laugh: Played when the player interacts with certain objects in the room.
- Door Opening Sound: Played when the user completes the task to unlock and open the door to the stairway.
- Door Knock 2: Played when the player interacts with certain objects in the room.
https://opengameart.org/content/12-3-knocks-wooden-doors - Background Music: https://www.youtube.com/watch?v=-zvQoPyY2XE
- 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.
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
- Cupboard: The cupboard placed right in front of the door
- Baby Seat: The seat on which the big doll is sitting
- Circus Baby Doll: The big doll sitting on the baby seat
- Creepy Doll: Inside the left drawer
- Creepy Doll Head: Inside the left drawer
- Voodoo Doll: Inside the right drawer
- Train: Inside the bottom-right cabinet of the cupboard
- Soft Toys: 6 soft toys placed on the shelves of the cupboard
- Top: On the last shelf of the cupboard
- Fire Truck: On the floor, near the right window
- Doll hand: On the floor, near the crib
- Car: On the floor, near the left window
- Glow-in-the-dark stars: On the walls and the ceiling
- Arches: On the floor, in the middle of the room
- Phantom Ghost: Appears when peeking from the left window
- Building Blocks: Inside the crib
- Alphabet Blocks: 3 blocks kept on the baby seat’s table, 1 in the bottom-left cabinet, and 1 in the right drawer
Screenshots
Custom Models
- Crib
- Pillow
- Quilt
- Lamp
- Fan
Interactions
All objects except:
- Cupboard
- Crib
- Fan
- Baby Seat
- Phantom Ghost
- Circus Baby Doll
Triggers
- The big doll always looks at the player
- When the player enters the the room, door closes and locks.
- When player goes near the doll, the doll speaks/sings, and lights flicker
- When trying to peek from the left window, a ghost appears with lightning
- When going near the cupboard, the ghost says “I see you…”
- 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
- Thunder
- Demon Girls Mocking Bird Song
- Little Demon Girl Song
- Where’s My Mommy
- Fizzle (when lights flicker)
- High Pitch Scream
- Evil Laugh
- Creepy Doll Music
- I see you
Environment
The model can be found here – Baba Yaga’s Hut
[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.