ie8 fix
madison

Hardware 2.0

Adrian Kingsley-Hughes

BLITZ hacks Xbox 360 Kinect for Flash/Silverlight/Unity/HTML

By | January 12, 2011, 8:00am PST

Summary: BLITZ, the interactive agency behind campaigns for HALO, Nike, Starbucks, DIRECTV, FX and so on, has today released the source code and scripts for hacking Microsoft’s Kinect hands-free motion controller to allow it to output data to platforms such as Flash, Silverlight, Unity or HTML.

BLITZ, the interactive agency behind campaigns for HALO, Nike, Starbucks, DIRECTV, FX and so on, has today released the source code and scripts for hacking Microsoft’s Kinect hands-free motion controller to allow it to output data to platforms such as Flash, Silverlight, Unity or HTML.

A limitation of Kinect is that everything that has to be done with C++, a language that doesn’t lend itself well to creating rich user interfaces. A solution that Noah Gedrich and Yosef Flomin of BLITZ have come up with is to set up a socket server that C++ can connect to and send the output from the Kinect to a listener, such as a Flash application, Silverlight application, Unity, HTML or whatever. 

When Kinect was first announced, we immediately began dreaming of the different ways we could use it to create engaging experiences that leveraged physical interaction for our clients. Unfortunately, in the earliest days, we would have been tied to Xbox’s proprietary XDK and only able to publish to the Xbox itself. With this breakthrough, we’re arming any Flash, Silverlight or Unity developer around the world with an intuitive way to implement physical interaction models into their work. Be it a large-scale installation or a desktop application, marketers, agencies and developers can save a great deal of time, energy and money — opening up the potential of Kinect beyond Xbox to any platform supporting socket connections increases the creative possibilities exponentially.

The agency also created a video to give a step-by-step tutorial for how developers can use Kinect to drive impressive new interactive experiences or even Flash-based games.

Flash Kinect Demo from BLITZ Agency on Vimeo.

Source code available for download from the BLITZ Lab Blog.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Adrian Kingsley-Hughes is an internationally published technology author who has devoted over a decade to helping users get the most from technology.

Disclosure

Adrian Kingsley-Hughes

All opinions expressed on Hardware 2.0 are those of Adrian Kingsley-Hughes. Every effort is made to ensure that the information posted is accurate. If you have any comments, queries or corrections, please contact Adrian via the email link here. Any possible conflicts of interest will be posted below. [Updated: February 23, 2010] - Adrian Kingsley-Hughes has no business relationships, affiliations, investments, or other actual/potential conflicts of interest relating to the content posted so far on this blog.

Biography

Adrian Kingsley-Hughes

Adrian Kingsley-Hughes is an internationally published technology author who has devoted over a decade to helping users get the most from technology -- whether that be by learning to program, building a PC from a pile of parts, or helping them get the most from their new MP3 player or digital camera.

Adrian has authored/co-authored technical books on a variety of topics, ranging from programming to building and maintaining PCs. His most recent books include "Build the Ultimate Custom PC", "Beginning Programming" and "The PC Doctor's Fix It Yourself Guide". He has also written training manuals that have been used by a number of Fortune 500 companies.

Adrian also runs a popular blog under the name The PC Doctor, where he covers a range of computer-related topics -- from security to repairing and upgrading.

27
Comments

Join the conversation!

Just In

RE: BLITZ hacks Xbox 360 Kinect for Flash/Silverlight/Unity/HTML
zdne110 28th Sep
Nike Free 7.0 Black Gold Shoes
Nike Free 7.0 Black Grey Green Shoes
Nike Free 7.0 Black Shoes
Nike Free 7.0 grey red shoes
Nike Free 7.0 Leather Silver Orange Shoes
Nike Free 7.0 Leather Womens Silver Purple
Nike Free Run 2 Blue Grey Shoes
Nike Free Run 2 Grey Red Shoes
Nike Free Run 2 Grey Shoes
Nike Free Run 2 black men shoes
Nike Free Run 2 black shoes
Nike Free Run 2 blue yellow shoes
Nike Free Run 2 green men shoes
Nike Free Run 2 grey blue men shoes
Nike Free Run 2 grey blue shoes
Nike Free Run 2 grey purple men shoes
Nike Free Run 2 grey purple shoes
Nike Free Run 2 red black men shoes
Glad someone is finding a use for these things. After the ridiculously horrible games out using Kinect (I guess it's for six years olds only at the moment), mine's just gathering dust.
@tech_monster
I don't trust you at all. Have you really played Kinect Adventures, Kinect Joy Ride, Zumba? I don't think so. They are so addictive. I know you don't own one, and eating dust is just a lie. I understand you are either a wii or ps3 fan. Typical.
0 Votes
+ -
yes, they are so addictive
magallanes 12th Jan 2011
@Rama.NET

but for a while (let's say the first and second day) and nothing more.
@Rama.NET You don't like something I like? You must be lying!
@Rama.NET Yikes. Pull the stick out of your a*s. Someone doesn't like what you like.

Kinect is the fastest selling device in HISTORY. Relax. You have 8 million people who probably agree with you. Are you so insecure you need them ALL to?

Let me guess, you hate Apple because you own a Microsoft product and since I have an iPad, I must be a crazed Apple fanboi?
  • Flagged
@God of Biscuits
Why don't pull the stick out om my a*s, if you see one. I didn't say I never liked Apple products. I own good number of iOS devices and a Macbook FYI. I also have wii FYI. Typical bigotry from the kinds like you. What should I expect.
  • Flagged
0 Votes
+ -
@29thfloor
Hey, I didn't say that. Make sure you don't fall from that floor while your bais is blinding you. I am techie and I like all techs. I own both wii and Kinect.
@tech_monster I can understand your skepticism after the "epic fails" that MS has had with other peripherals and OS' but I think that they have a good thing on their hands. My teens are coming up with ideas how it can be used and it is a matter of time where developers will be able to come up with the best way to use a controller-less device to control their games. I am actually impressed that MS has been able to bring together several technologies into a really good device.
@tech_monster

Back under the bridge troll. My Kinect is working well.
@tech_monster Try dance central or Sports. I have friends and family over from teenagers to 60 year olds and they are having a blast. I am waiting to try it with my Dad, he is 80 and he has sever arthritis. Bowling used to be something he loved, but his cant grasp the ball. Great times. I am excited to see what is coming out this year for it though.
@spikedstrider He may not have tried other games he does not have to be lying it's cool. Relax. The device has been out only two months and dust collects fast at his house. lol
0 Votes
+ -
Your hyperlink to download sourcecode from BLITZ Lab Blog site is wrong and points to this blog only.
@Rama.NET
You can grab some of the source here:
http://labs.blitzagency.com/?p=2634
@yosefflomin
Thank you very much.
Regarding your comment about C++...

One could also say that Java is for inept programmer-wanna-bes who have no business writing software and have no concept of performance, how the hardware actually works, or what "real time" really means.

You could counter with-- "then why is everybody using Java?..." and I would parry with "...because they are clueless and don't know what they are talking about..." and then some java programmer would say "...I do, too!!!". And then the lemmings would unite and vindicate themselves through shear volume of ignorance and BLISS.

If you really knew what you were talking about you would recognize the beauty of C/C++ and why it was used and not embarrass yourself by using the word "limitation". Leave programming to people who still know what assembler is and write your morass to the script kiddies.
@dbeecher@...

I think your dinosaur is hungry...
0 Votes
+ -
@dbeecher@...

"shear volume of ignorance"...

At least check your spelling before attacking people... lest you become a victim of extreme irony

Expecting the masses to get their head around Assembly is bit of a silly fantasy don't you think? And why should they? There will always be work for people who can write efficient low level code, but at the same time it's wrong to think that there is no room for efficiency, optimization or innovation for people who code in languages like Actionscript.

VM's may burn more CPU, but as hardware gets faster and faster, who's to say it's not OK to trade writing to bare metal for tools that can help people realize their art while still achieving impressive results? And don't forget that these 'new' tools themselves are also evolving.
@dbeecher@..."C/C++" programming I'm with you! I glad I know more about what makes my PC tick under all the bright GUI stuff those less interested find boring...
@dbeecher@...

Agree except for one thing.

"everyone is using Java"

Afraid not. It's slow, clunky and has a history of weekly bug fixes and .Net passed it long ago.
0 Votes
+ -
RE: BLITZ hacks Xbox 360 Kinect for Flash/Silverlight/Unity/HTML
PolymorphicNinja Updated - 12th Jan 2011
@dbeecher@...
I thought the language pissing contests died in the late 90's.

As someone who's had to develop in a multitude of languages in the course of my career, including C, C++, Assembler AND Java, I'd say your elitist attitude is a bit outdated. To be clear, I'm not one of those "lemmings" you're talking about. I went to college in the late 80's. Paid my dues with VAX and AT&T mainframes, and C++ was the hot new language (colleges were a little slow to adopt then too).

Generally when I see comments like this, they are usually given by older generational programmers who have invested solely in learning one syntax (typically C/C++ since it's closer to the metal and demands artificial respect). Complacency has rendered them out of date, and they have not bothered to read up on the new fangled technologies such as managed code and virtual micro platforms. They are quick to dismiss them because deep down they realize that it threatens the artificial respect they've worked so hard to achieve. Suddenly things that took a dozen lines of C code can be done in 2 or 3 in language X.

And when these platforms get popular, and they see the job market demanding these skill-sets far more than C/C++, the bitterness comes out because suddenly these inept programmer wanna-be's are actually the ones attaining employment.

See... if such elitist programmers were even slightly as great as they think themselves to be, they would see the benefit of embracing the "script kiddie" platforms out there. Doing so doesn't mean you're cheating on C/C++. Today's SDLC is all about productivity, maintainability, and efficiency (and no, not talking clock cycles here necessarily). And since performance is a measurement of usability more than CPU cycles and shaved milliseconds these days, it's silly to say that C/C++ is the sole answer for every application out there. In that regard, C/C++ *is* mired with limitation. Not technical limitations, mind you, but limitations in the accelerated demands of application development today.

Odds are, nearly all the web sites you visited today (including Google) has a back-end coded by inept programmer wanna-bes using script languages and managed code. Somehow, I doubt it hurts the experience.
@dbeecher@...

The whole ideal behind java is that it's a platform independent, free form programming language that's well suited for developing applications on the web for clients and servers no matter what hardware it runs on. Sure C++.NET, C# and F# are also good candidates for developing applications on the web also but are still limited to a windows specific platform. Java overcomes that limitation and is not a language for script kiddies as you put it. People who are new to programming do not need to learn C/C++ as a first programming language since the syntax between Java and c/c++ are very similar to each other. All the same basic programming structure and logic principals can be applied to any programming language no matter if you learn java, c/c++, C# or F# as a first language.

When you state that: "Java is for inept programmer-wanna-bes who have no business writing software and have no concept of performance, how the hardware actually works, or what "real time" really means."

That's the whole idea behind java isn't it? Of course, java frees the programmer from the concern(s) about hardware/platform limitations and performance issues. This also answers the question: "Why is everybody using Java?" Again the answer is obivious of what I've just stated above.

Programmers using java no longer have to bang their heads against the wall worrying about wether or not their applications will work with windows, linux, mac os X ect it will work on all of them. That issue is irrelevent. As for the people who used to develope their applications in assembler which was among one of the very first programming languages used in the days of mainframe computing in the 60's are the people who know the machines inside and out and pratically did programming their way: the hard way.

As all programmers should know no matter what programming language you use be it C/C++, java, Visual basic, C#, F# ect one fact remains all computers speak the same language of 1s and 0s no matter what country you may live in and what language you write your documents in, videos you make and the music you listen to.
@dbeecher@...
I hardly think that the statement "C++, a language that doesn?t lend itself well to creating rich user interfaces" should upset you as much. Blitz created a tool that enhances C++. This article was hardly an attack on programming languages, nor does it promote one over another. Easy.
@dbeecher@... C++ ftw!
Well where is the source Ive tryed hitting the link but get taken to manage my account
That is what I dont like is I try to DL something and I cant cause the like is wrong or broke
Actually Adrian, the most popular language of choice for Kinect happens to be Python because of its data handling and C friendly syntax. That and it runs on practically anything from smartphones to iMacs.

LibFreenect was written in Cython, and wrappers for Python, Java and C# exist among others, so unless you are developing your own drivers, you wont need expensive compiler suites. Python programs in fact can even be written in NotePad at a pinch, and have full access to everything the Kinect has to offer. But hey, theres nothing like slapping on a fancy value added interface so you can charge for it.
I hate this industry.
Talk about a 15 minute product of fame, this thing is dying fast.
Nike Free 7.0 Black Gold Shoes
Nike Free 7.0 Black Grey Green Shoes
Nike Free 7.0 Black Shoes
Nike Free 7.0 grey red shoes
Nike Free 7.0 Leather Silver Orange Shoes
Nike Free 7.0 Leather Womens Silver Purple
Nike Free Run 2 Blue Grey Shoes
Nike Free Run 2 Grey Red Shoes
Nike Free Run 2 Grey Shoes
Nike Free Run 2 black men shoes
Nike Free Run 2 black shoes
Nike Free Run 2 blue yellow shoes
Nike Free Run 2 green men shoes
Nike Free Run 2 grey blue men shoes
Nike Free Run 2 grey blue shoes
Nike Free Run 2 grey purple men shoes
Nike Free Run 2 grey purple shoes
Nike Free Run 2 red black men shoes

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix
Click Here
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix
ie8 fix