This was based on the original Make a Moment challenge for Hide and Seek which suggested making a game where the player had to get from A to B without being spotted.
Its not perfect and there are a couple of minor bugs but I could be tweaking and improving this thing for months. I already spent way more time on it than I planned! (although I may fix a couple of bugs I only spotted after publishing the WebGL version for the download version)
Although it is mostly a tech/this is what I learned in challenge club demo. I have tried to make it a fun game.
Just a quick rundown of the features:
There are 8 unique maps drawn in aseprite
The room builder converts those coloured pixels into a 3D room, it then adds doors where needed and links different rooms, chosen at random to each other so if you’re good enough, the game will never end. Then it generates a key card either on the floor, up on a platform or on the desk of the security monitor. This makes it really quick and easy to make new maps. You can create a new room in a couple of minutes and the script does all the work. (I also made an editor version of the script for testing so I had an actually room to work with)
It has teleporters, jump platforms and grappling hooks. There are transparent materials too (for the lights, not just because I wanted to include something from Double Room)
Light level determines how easy you are to see but the guards can also hear. Crouching slows your speed but muffles your footsteps. Jumping off things can make a noise that guards can hear although that sound is dampened depending on how many walls are in the way of the noise. Guards have a 60 degree field of vision in the horizontal and 150 in the vertical, unless they’re wearing hats, guards in hats only have a 40 degree vertical visual field. You can also intentionally make noise by throwing cans.
Finally we have player prefs to store difficulty level, mouse sensitivity and whether to play the tutorial.