Kinect Games v2.5 with the Kinect for Windows SDk v1.6
- Posted: Oct 22, 2012 at 6:00 AM
- 6,706 Views
- 3 Comments
Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Today's project by Friend of the Gallery, David Renton, takes us back to his Games projects, which have been updated for the latest Kinect for Windows SDK v1.6.
This new release of Kinect Games fixes a couple of bugs from the last release which affected performance, the main thing being that I wasn’t correctly disposing of some unmanaged resources which slowed down the framerate. As well as fixing those bugs I have also used the new Kinect SDK v1.6 in this release which should also improve performance.
I have also added a new game to the installer called Kinect Pong, which is just a simple pong game which can be played 1 player against the computer or in 2 players mode. You simply use your right hand to control the bat; the game senses whether 1 or 2 players are standing in front of Kinect and automatically implements AI for the 2nd bat if only 1 person is playing.
There are a few keyboard controls for Kinect Pong:
F11 toggles full screen mode
UP and DOWN cursor keys move the Kinect camera angle up and down
SPACE BAR toggles the video feed on and off (turning it off will improve framerate on slow computers)
ENTER starts a new game when a game has ended
ESCAPE quits the gamePlease click here to download the new all in one installer for Kinect Games version 2.5, the installer includes Kinect Angles, Kinect Time, Kinect Magic Cursor, Kinect Pong, .net 4.0 framework, XNA4 runtime and Kinect SDK v1.6.
Source Code
Click here to download Kinect Angles v2.5 source code
Click here to download Kinect Time v1.6 source code
Click here to download Kinect Pong v1.6 source code
Click here to download Kinect Magic Cursor v1.6 source codeYou might notice in the Kinect Pong source code that I haven’t used classes much, that was because I was writing the Pong game for a structured programming unit I teach which doesn’t go into classes but only structures. I simply added the Kinect stuff into the game I wrote for that class, so that is why it doesn’t use classes much. I suppose if you are a beginner to XNA/Kinect programming this may make the code easier to follow, or not as the case may be
Project Information URL: http://drenton72.wordpress.com/2012/10/15/kinect-games-v2-5-using-kinect-sdk-v1-6-including-source-code/
Project Download URL: https://dl.dropbox.com/u/51033091/xGames/KinectGamesv2_5.exe
Project Source URL: Kinect Angles v2.5 source code, Kinect Time v1.6 source code, Kinect Pong v1.6 source code, Kinect Magic Cursor v1.6 source code
Contact Information:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation,
please create a new thread in our Forums,
or
Contact Us and let us know.
Follow the Discussion
Oops, something didn't work.
What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in. You need to be signed in to Channel 9 to use this feature.What does this mean?
Following an item on Channel 9 allows you to watch for new content and comments that you are interested in and view them all on your notifications page.sign up for email notifications?
What version of studio did you use?
After I load the solution file into VS.2010 it says "The project type cannot be found".
@jabailo: I was able to open the Kinect Angles v2.5 source code in VS2010. Do you XNA installed? You can download it, the XNA Game Studio, from here, http://www.microsoft.com/en-us/download/details.aspx?id=23714
I was missing the XNA (thought I had it by installing Kinect Studio!).
But now I guess I'm missing something about Pong.
Trying to play one player. It seems to recognize me and let me manipulate the right hand side, red paddle. But the blue paddle, which I think is supposed to be "AI driven" just rests at the bottom of the screen.
Remove this comment
Remove this thread
close