This prep phase was the first bit of the game I implemented. Initially, it was planned for the player to select their hacker items such as USB sticks to use within the upcoming level. With this in mind, I made the prep phase have an old CRT monitor for the player to look at the CCTV camera footage through and a shelf containing the player’s current hacker items. However, the idea of having a shelf with the player’s hacker items was scrapped early in the game’s development. So I removed the shelf from the prep phase. Then when the assets came in from the artist I changed the monitor and the UI controls to the ones provided. I also set up a scanning system whereby a player pressing the spacebar would highlight the vulnerabilities currently being shown on the monitor, and a UI box would appear informing the player about them.
To show the CCTV camera’s footage on the monitor, I set up camera prefabs around the scene with their render textures used on the monitor’s screen. I also created a shader in shader graph that distorted the monitor’s screen to give it the appearance of an old CRT monitor. I then from playtest feedback, made a minimap to show which room the CCTV camera the player was currently looking through was in. I did this using two cameras, one that only rendered the floor and one that only rendered the walls. Then I took their render textures and combined them in a shader setting the walls to be one colour and the floor to be another.