titlescreen.jpg
84180f_aaf8b9110ced471e8c282ab01c786484.png
84180f_c3ccabbfd96440d689f3db55aac3946e+(1).png
b49dc4_e7a731b2a7e9433996c3fa7c637bf01f.jpg
 One of the more complex blueprints, dealing with a music puzzle the player must solve.
 The script checks which button the player is pressing, disables input on that button, plays a sound cue and checks the order it is pressed against a defined boolean.
 The script then adds or subtracts from a float, depending on the result of the boolean, and then plays a short animation of the button being pressed.
 Finally, once all buttons are pressed, the script checks the final float against a predefined value. If it matches, the full song plays then unlocks an upstairs door, else it plays a "wrong" cue then resets the puzzle.
prev / next