BrianPeek.com
A Compendium of Random Uselessness

November 2009 - Brian Peek's Blog

  • PDC09, Coding4Fun, and Mind Blaster


    Another PDC is over and I’m happily relaxing before work starts again on Monday.  Lots of announcements, free laptops for attendees (not me, sadly), and plenty of time spent in our Coding4Fun area with my project.  We even had the opportunity to take part in a live broadcast on Channel 9!  The recording for that show should be available shortly.

    We had 5 fantastic projects in the Coding4Fun area this year:

    image
    Drinktendr by Clint Rutkas
    image
    Laser Graffiti by Jeremiah Morrill
    image
    Goblin XNA by Ohan Oda
    image
    Wi-Fi Warthogs by Tim Higgins

    And what was my big project this year?  A fun little game titled Mind Blaster, a space shoot ‘em up game played entirely with your head!

    Mind Blaster

    How does one do that? Well…

    This past July I found a brain-wave sensing headset from Neurosky called the MindSet.  They are now shipping headsets at $200 each and provide a free set of development tools to use the headset in your own apps.  Part of this toolkit provides support for using the headset in .NET using C#.  This headset uses 4 dry sensors to measure alpha, beta, theta and gamma waves produced by your brain, runs them through a proprietary algorithm they’ve developed, and scores your concentration/focus and relaxation individually on a scale from 1 to 100.

    The second piece of hardware involved is a Nintendo Wiimote, gutted and strapped to the top of the headset.  With an IR bar on the top of the monitor, this provides full head-tracking in 2 dimensions.  Interfacing to this device is quite easy using my managed library which you may have heard of…

    With these two things strapped to the user’s head, the game, written using XNA, takes shape.  Move your head to move a targeting reticule around the screen.  Hover the reticule over an enemy, then begin focusing your attention on that enemy.  The harder you think and the more you concentrate, the faster the enemies heat up and then explode.  Enemies will shoot back, and you can target their missiles to blow them up before they hit the screen.  Here’s a short video of the game in action.

    A simple but fun little game.  I even had several people come back multiple times during PDC to attempt to better their score.

    I owe a lot of people a huge amount of credit for bringing all of this to life….

    • Joey Buczek for all of the 3d models and artwork in the game
    • David Wallimann for all of the sound effects and music in the game
    • Rick Barraza for the idea of moving the game into a space environment.  Better than the road I was heading down… :)
    • Greg Hyver and Johnny Liu from Neurosky for getting me set up with headsets and providing loaners for PDC
    • Michelle Leavitt for an infinite amount of playtesting
    • The XNA folks who created the various tutorials and starter kits whose code saved me a ton of time in creating the game.  Without these, I’d probably still be writing particle engines, bloom shaders and various other pieces from scratch….these are a huge time saver!

    There will be much more to come on this game over the coming weeks.  I will be doing an extensive article on Coding4Fun detailing how the game was created.  At that time, the full source code will also be released.  I will probably also write up a short post-mortem on the creation and exhibition of the game in the style of those seen in Game Developer magazine.


  • PDC 2009


    Before and AfterPDC 2009, starting November 17th, is almost upon us and I’ll be heading out to the conference once again with my Coding4Fun/Channel 9 playmates.  Anyone else heading out to the big show?

    We won’t be doing a Coding4Fun session like we did last year, but I will have another fun project for people to check out in the Coding4Fun area.  I can’t give out details until after the show begins, but you can probably guess there is a Wiimote in the mix somewhere.  And some spiffy new hardware.  And maybe some XNA.  Look for the details here after the show, and an article with full source code shortly thereafter.

    We also have 4 or 5 other developers with their latest and greatest projects, all of which are nothing short of incredible and put mine to shame.  I will likely be doing a compendium Coding4Fun Show with all of this year’s project authors so those not in attendance can see their incredible work.

    I will also be hosting a table during lunch on Monday, November 16th during the FREE Windows 7 Developer Bootcamp.  The topic at my table will be XNA.  So, if you’re attending the all-day bootcamp on Monday and want to talk about all things XNA, be sure to stop by.  I’d love to hear how other people are using XNA and, if they’re not, why and how they should, even if it’s just for fun.

    If anyone will be attending the conference, please let me know so we can meet up for lunch or a beverage.  Hope to see you all there!