Sara Beheshti
← Back to Assignments

Assignment 2: The Haunted House

This is the game senario:

//Game starts.

// The camera catches the face of the player, and the light comes to the page (room) like there is a flashlight is on her forehead. So, the light should change the direction when the eyes of the player change direction. (It’s like that the player face is changing direction and moving toward spaces)

// Eyes open, the light is on // eyes closed the light is off// when the eyes move off the creature which the play faces/sees the creature gets one frame closer.

// So, when seeing a creature, the player should stare at it so that the creature doesn’t move.

Then we have the hand pose, which helps the player to change the rooms.

// Right hand (open) >>>> Bedroom

// Right hand (close) >>>> Kitchen

// Left hand (open) >>>> Bathroom

// Left hand (close) >>>> Living room

// Two hands open >>>> Basement

// Two hands close >>>> Back to the first frame, Hallway

// Bedroom: there is a creature under the bed

// Kitchen: there is a creature on the empty corner of the kitchen

// Bathroom: the player stands in front of the mirror, and the mirror shows the player’s face and the creature behind her.

// Living room: the creature is on top of the ceiling

// The basement: the play goes a few stairs down and see a creature crawling toward her from the basement.

// The player will survive when she escapes all these rooms and come back to the first frame if she does it in 1 min. Otherwise in the last scene the creature catches her and she becomes a ghost.

GitHub