Kinect Virtual Disco Deathmatch Installation GuidePublished by admin on Tue, 06/12/2011 - 5:44pm
The other day I posted an article about a great little game developed by Paul & Syd. They built this easy to use and fun to play Dance competition game that matches up your skeletal positioning with data captured from the Kinect and then pumps it into a browser that supports HTML5 using Jens Alexander Ewald's WebSocketP5 library.
If you'd like to try it out, here are the steps I took in order to get it up and running.
First up, if you haven't already, download and install Processing. Once installed, Processing creates a directory in your "Documents" folder. This is where our sketches and libraries will be placed.
NOTE: If you need any help with the terminology being used here, http://processing.org has great documentation along with a very active forum
You'll also need to have OpenNI installed on your Mac. If you haven't done this yet (or are having problems with your current version) download the package installer from the SimpleOpenNI google code page. It ensures that the SimpleOpenNI processing library will work seamlessly with OpenNI v188.8.131.52 and NITE v184.108.40.206
If you navigate to your Processing directory in the Documents folder, you should notice a libraries and sketches directory. If not, create them. We'll need to add the following libraries in order to properly run Kinect Virtual Death Match. Just simply download them and place them in the Documents/Processing/libraries directory
Download Processing Sketch
Kinect Virtual Disco Deathmatch can be downloaded from their github repository at https://github.com/sydlawrence/Kinect-Virtual-Disco-Deathmatch
Just click the ZIP button and place the contents of the extracted file into the sketches directory
Restart Processing (if it's currently open) and then launch ws_test.pde located int the Kinect-Virtual-Disco-Deathmatch processing folder
Run the sketch. You'll now need to perform the old "Freeze or I'll shoot calibration pose. Situate yourself and your competitor far enough away from the Kinect so that you are both clearly visible from your head to your feet. Tracking should be initiated shortly thereafter.
Once the players have been set, go to
/sketches/Kinect-Virtual-Disco-Deathmatch/client/index.html - Open it in browser that supports HTML5. I guess that's a warning to those who use IE as their default browser on a Mac -- shame on you by the way if you exist.
You should be ready to bust a move at this point. To initiate the game, have both players place their hands on top of their head. A score counter should appear in the upper left hand corner of the screen. Match the description of the positions to earn points. Highest score wins.
If you run into any problems, feel free to drop a comment below. For those of you that got it working, enjoy!