Today I was going to focus on the security keypad implementation for the first puzzle set and although I have created the keypad sprite image I actually decided to focus on more lighting development.
I have now successfully sorted out the code so that the lights do not come on until the player first sees them. This adds a sort of fog of war to the game so that when the player first starts they cannot see outside of the room they are in. When the door swings open the lights in the corridor fade in to illuminate the next section. I think this looks great and works really well and prevents the player from being able to see areas that they should see from the start.