Escape Room
Lance Chapman
Published
The Project
This is a project that I did on the side while at university for a lecturer that needed an escape room for his Ph.D. about empathy in games. The escape room was to see if someone was more empathetic to a situation, they would spend more effort understanding the problem to find a solution.
This escape room was based on going to a friend’s house as they were missing and find that they are broke and are stealing but the more you search you can find information showing that they were doing it for other people as well and the player needs to make a choice based on what they find. This was measured by seeing where the player went and the evidence that the player collected and what choice they made, wither burn the evidence, report them or just leaving. The choice could be made at any point.
My Contribution
I made all the code for this project, and they could be broken down into three categories:
- puzzle system
- item system
- general gameplay systems.
All of the systems were made to be modular and easy to use so that anyone could create what they need without having any programming knowledge.
Puzzle System
The puzzle systems worked so that anyone could make any puzzle within Unity’s inspector and only required code when a new trigger or effect was needed. For example, you could put an object into a location and then something else would react to it. So, you could out any object into any location for anything to happen such as a fuse in a fuse box to power everything or use a code on a keypad to open a door.
Item System
For the item system you could pick up any object, inspect it, drop it or use an action on it. This was done with minimal code so that the designer only had to put one script on an object and it would allow the player to do all interactions related to that object. Some of the actions included using a torch to light up the room, pick up the phone or searching through a computer, tuning on light switches, pick locking a safe.
Gameplay
The general gameplay systems were all the other code that made the game work such as loading scenes, player controls, menus and UI.