Well that’s the revolver code from my Russian roulette game rewritten for touchscreen. Having touch support has allowed me to make things a little more interesting, with the user now being able to tinker with individual parts of the gun, which you can see in the video below.

Considering how tricky resistive touchscreens can be to work with I’m pleased with the end result. Getting it to work with a finger rather than the Nokia 5800’s stylus wasn’t easy and there were times when I wasn’t sure it would give a satisfying experience.

There’s definitely room for improvement and I should be able to increase the frame rate by making a few tweaks here and there. I’m actually rotating the revolver graphics 90 degrees at the moment, which is obviously a huge performance hit. Once I get the user interface up and running I’ll go back and optimise things.