top of page

Horror House

Game Info

  • Players: Single Player

  • Genre: Top Down Exploration, Horror

Development Info

  • Role: Programmer, Level Designer, Game Designer

  • Team Size: 1

  • Development Time: 2 weeks

  • Game Engine: Unity

Quick Summary

Horror House is a 2 week school project where I attempted at making a top down horror game. You are a individual investigating the haunted house trying to unlock it's secrets. With only your flashlight and a few gadgets, do you dare try to enter this house. With my limited abilities in art, I attempted to create a spooky environment with what I had and I wanted to work in Unity's shaders for the first time. 

Project Goals

With my limited abilities in art, I attempted to create a spooky environment with what I had and I wanted to work in Unity's shaders for the first time. 

The Flashlight

With the flashlight I wanted it to be the one of the defenses you had against the lurking enemies in the house. To defend yourself, you had to charge the flashlight, by holding down the left mouse button and when the charge gets to full, you would have to release the button and it would flash and stun the enemy. To get this feature, I interpolated the light intensity to a higher setting, and then when the button gets released, I would interpolate again, but in reverse starting at a higher scale than it ended with. 

Flashlight code 0.png

The Ghost Trapper

FlashlightEffect.gif
TrapPlacement.gif

The ghost trapper was my solution for the player to permanently stop the ghost, which is represented as a slight transparent blue capsule. Since I used this project to play around with some shader work, I decided to use the trapper as my first attempt. By using Unity's ProBuilder I created an upside down pyramid mesh to be attached to the base of the game object. To get the effect wavy transparent effect,  I watched a video by Freya Holmer who was explaining how to work in Unity's shader code.  

Trapper 6.png

Enemies

Ghost Chaser.gif
EnteringTheVoid.gif

For Horror House I created two types of enemies:

1.) The Ghost

2.) Statue

For the Ghost I wanted to make him annoying.  So whenever the player turns on any type of light in the house, the ghost will travel to the switch and turn off the light. To handle the situation if the player turns on multiple lights at the same time, the idea was for the entity to go through a list of lights that were added to the ghost and go through them in order of when they were turned on. Sadly though there were some bugs with this and the ghost wouldn't go turn them off sequentially, but it would still turn off all the lights that are on. There are two ways to stop the ghost:

1.) You can temporarily stop the ghost with your charged flashlight. 

2.) Using a trapper that you can find throughout the house. 

As for the Statue, he would only come alive if you get in a close enough distance to it and it would only move if your back is turned, but when you turn around the statue will stop moving. To get this effect I used the dot product. 

bottom of page