Close Your Eyes

Made with: Unity, C#, Python for PC

Solo project

Module ‘Rapid Prototyping’ - 1 week

Theme: ‘Don’t look at it!’

Functionality

For this assignment I made a prototype in which you have to close your actual real-life eyes to deter the monster attacking you. If you don’t have a working webcam, you can use left click to close your eyes instead, which is shown in the gif above. You can use space to walk forward, then at any crossroad use W/A/S/D to turn in that direction. If the monster appears to attack you, quickly close your eyes, and if you close them long enough the monster will go back and disappear again.

The goal is to find the exit in the maze. As mentioned before, the unique mechanic is that you have to close your actual eyes, because the game uses facial recognition to determine when they’re open or closed. I used a python library for this and integrated the python exe in the unity build.

Development process

After my first build, I changed a few things.

First of all, I filled out the entire map instead of just a part of it. I didn’t do this for my first build because I wanted to get a build out there asap so it could be tested, and because doing the python integration took quite some time I felt like I was already late on that.

I got the feedback that the minimap was hard to read quickly, because you could just see the walls, and what was inside and outside of the walls was the same color. I changed that so you could more clearly see what was actually walkable and what was the background.

Furthermore, for one of the playtesters, the camera didn’t work (probably because they had multiple cameras, like virtual cameras, and it just took the first one in the index). I found myself short on time to create something like a dropdown for which camera to use, because I would have needed to make changes in the python program as well and communicate those changes, so instead I opted for a mode that you can enable where you close your eyes with left click instead and your screen just goes black.

Used Assets

Facial Recognition

https://github.com/italojs/facial-landmarks-recognition/blob/master/README.md

Hospital Horror Pack

https://assetstore.unity.com/packages/3d/environments/hospital-horror-pack-44045

Stylized Demon Creature

https://assetstore.unity.com/packages/3d/characters/creatures/stylized-demon-creature-for-horror-game-205748

Sound Effects/Music

https://pixabay.com/sound-effects/loop-file-positive-and-gentle-piano-song-157353/

https://pixabay.com/sound-effects/holloween-2011-2-2-34329/

https://pixabay.com/sound-effects/horror-ambience-303648/

Previous
Previous

Level Editor

Next
Next

Block&Load