18th April 2022 – Puzzle Room & Game Settings

So far I have managed to make it so that when you step on the correct pressure plate, a counter goes up by 1 and if you step on an incorrect one it goes back to 0. So once the counter gets up to 10, you will be able to get the tablet key. I used a switch statement as I found it to be the best way of doing this.

This is the puzzle room which I’ve just copied and moved to the start of the area for testing as it’s much easier than having to walk all the way to the ruin section of my level.

I fixed the problem I had where when I stepped on a pressure plate, it added more than 1 each time so I fixed it by using a Boolean. 

I’ve added 2 objects which have half of the correct solution to the puzzle. When you click on the buttons, it will then pop an image up on the right side to get a better image.

I fixed another problem with the character as before I couldn’t walk up anything but it was a simple fix as for some reason the Y position was frozen.


I began to work on creating the settings menu. For this I’ve simply added a music and SFX slider as well as a quality dropdown bar.


This is the code for the settings menu. The SetQuality simply changes the quality of the game and the audio sliders allow it so when you move the audio sliders in-game it will change the volume of each of the corresponding sounds. 


This is the music mixer I created which I then created an exposed parameter for which is the same name as the one set in the code which is where it gets and sets it from. I did this with the SFX mixer too.

This script went onto the options canvas I created and then on the sliders themselves I added an On Value Changed part where I put the options canvas in the box and selected the SFX method I created in the script. I also did this for the music slider and the quality dropdown too.

search previous next tag category expand menu location phone mail time cart zoom edit close