Thursday, November 10, 2016

Explaining the Skull Game

In this video I explain the logic and code for the skull game manager, and also the scripts that give the puzzle its functionality. This puzzle gives you 4 skulls, and each have a unique symbol painted on them.


Summed up, the manager listens to a script on a trigger collider. each trigger collider represents a correct location for a specific skull to be placed. Each skull has a unique ID within the code, and each trigger is looking for a specific ID. Once a skull with the correct ID sits within each of the corresponding triggers, the skull game manager registers as being complete.

No comments:

Post a Comment