Mechanic Prototype: Skyrim Lock Picking

I have decided to start making copying mini-games and mechanics that I find interesting in some video games.

The first mini-game that I have chosen is the lockpicking found in the Elder Scrolls V: Skyrim, which is one of my favorite games to play.

gif of a Lockpicking mechanic

This mechanic seemed very trivial to implement at first as it in its simplest forms consists of simply matching a rotation however, that would make the mechanic very bland and hard to balance as it would be very hard to increase the difficulty.

To do to add more depth to the mechanic you can let the player succeed when they are close enough to the right rotation.

Next, you make the unlocking process take a certain amount of time, the progress is showed by the rotation of the lock itself.

Finally, you show the player how close they are to the right solution by letting the rotation of the lock go further towards the unlock position. To add feedback make the lock shake a little to show that it cannot unlocked .

This example is just a quick prototype there is a lot of polish that can be added for to make this complete, such as sounds and better visual feedback.

source code on Pastebin

Leave a reply if you have a good mechanic that you would like to see implemented.


TOJam 2016

The To jam is the second time I have ever attended a game jam. This time around our team is smaller and we decided to keep the scope of our game small.
The game we decided to make is a mix of the old SNES Indiana Jones game and mark of the ninja.
We really wanted to get a dark vibe going on so we kept the art simple and made the lamp the character will carry an important mechanic