Xbox Kinect Hub Remake - An Introduction To New User Interfaces(www.diaryofaninja.com)

submitted by wiredonewiredone(917) 7 months, 7 days ago

I first started playing around with my Kinect at home just to get a feel for what was involved in working with the SDK – I must say that I, like many of you, was amazed, and still am, at how awesomely simple and beautifully designed the API’s in the Kinect NUI framework are. A lot of people have written little Kinect demo’s showing how to create buttons and detect hand location, but I thought I’d try something different. So I set out to mimic some of the Xbox Live's interface elements in WPF.

5 comments |category: |Views: 77

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by dpetersondpeterson(4397) 7 months, 6 days ago 0

Excellent post, makes me want to save for a Kinect unit to create some new interfaces of my own (maybe something for XBMC).
Since you gave us the warning about your winform/WPF skills I thought I'd give you a quick hint to improve your example:
private void button_Click(object sender, RoutedEventArgs e)
{
MessageBox.Show(string.Format("{0} Clicked", ((Button)sender).Name));
}

// somewhere in your initializer
button1.Click += button_Click;
button2.Click += button_Click;

I have not checked that code for syntax/other errors, but you get the gist of it I'm sure.

Reply

posted by wiredonewiredone(917) 7 months, 6 days ago 0

@dpeterson I have the handlers setup. It is in the xaml. The example project at the end of the post has been tested and appears to be complete.

Feel free to check it out and let me know your thoughts.

Doug

Reply

posted by dpetersondpeterson(4397) replied to wiredonewiredone(917), 7 months, 6 days ago 0

Ah, I just looked at the XAML more closely. I posted my code just to show that you didn't *need* a separate event handler for each button click, but it looks now like you actually did it on purpose. I'm with you now.

Reply

posted by bradygasterbradygaster(4897) 7 months, 6 days ago 0

I wish I could kick this twice. It's a great, great introduction to NUI with Kinect. Also answers a few questions relevant to an issue with which I'm dealing in a pet project, so the code does a great job of answering a few of my own questions.

Reply

posted by wiredonewiredone(917) replied to bradygasterbradygaster(4897), 7 months, 4 days ago 0

@brady - really glad you enjoyed the post. What project are you working on?

I plan on doing some more posts over time, so would be good to know any issues you are having.

Reply

information Login or create an account to comment on this story