Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Pressure Plate and Lever Events

Will Molloy edited this page Oct 26, 2017 · 1 revision

The pressure plate and lever mechanics were envisioned early on in our game design as core collaborative mechanics and both were implemented for the prototype.

Pressure Plates

Pressure plates work by having a pressure-plate controller that controls a set of pressure pads and a set of active objects that can be, for example, rotated or translated. The reason why a controller was required is sets of pressure plates need to independently activate the same object. For example, the rotating plank in level 1 room 1. Pressure plates are activated when an object with the correct tab collides with them such as Players and Boxes.

Levers and Plates

Similar to pressure plates levers can activate a set of objects. However, a boolean isRunning variable was included so players are required to wait for the lever and plate animation to complete before activating the lever again.

Clone this wiki locally