BrownBot Logo BrownBot Head

XNA Invaders

12:22 pm Filed under: General

Last week Microsoft released the first Beta of their XNA Game Studio, XNA Invaders is the result of around 5 hours of me mucking around with the code supplied in the help.

It’s a very basic example of a 2D looking 3D game using only line primitives in XNA, it’s got no sound because you need to down load another 300 odd meg of DirectX SDK to bring a wave file in and I figured not everyone would want to do that.

What do I think of XNA?

Good:

  • Managed Code is great (apart from it’s lack of globals, for games anyway)
  • user input is super simple
  • Timing code is all there and works
  • The basic project has everything you need layed out well (update and draw functions)

Bad:

  • Shaders only, this is the biggest one do you really expect someone just starting programming to be able to understand how to code a shader? They blow my mind and I’ve been playing with 3D for years, you’ve also instantly restricted your audience to around 20% of PCs, I realise this will change soon enough but this rules out most indie devs who want to sell their games (apart from those XBox 360s out there).
  • Have to install c# express even though I have full blown VS 2005 installed, I realise this is beta software but why?
  • Toting this as “anyone” can write a game is a bit rich, this is not a game engine! It’s a slightly cleaned up version of managed DirectX, the sample they give you you can’t even play without a joypad.

I’m still interested to see what comes out of all this, hopefully some more interesting games, personally I’m moving to a full blown engine (Torque) so I can actually get something interesting done rather than re-coding the same crap everyone else has done before for you.

Here’s (226KB) the game itself, you’ll need a really recent copy of DirectX and shader support in your graphics card.

Update: Was missing a dll, fixed now, if your still having trouble try this DirectX update (1.65MB)

Here’s (48KB) the solution for anyone who has the XNA beta installed, it should be a good basic XNA game sample for someone interested in doing a 2D/3D game.

8 Comments »

  1. [...] Check out Pete’s first little effort with the new XNA Framework: XNA Invaders. [...]

    Pingback by Mabsterama : XNA Invaders — September 5, 2006 @ 5:44 pm

  2. hey great game !!!
    I’ll take a deeper look at the code and I’ll inform you !!!!

    Bye from Spain
    El Bruno

    Comment by El Bruno — September 6, 2006 @ 6:08 pm

  3. [...] Pues bien, hace minutos me he encontrado con un desarrollo a medida de Space Invaders (un clásico) para esta plataforma. Si bien no he podido verlo en profundidad, ya el hecho de configurarlo y repasar un poco el código me ha puesto contento. [...]

    Pingback by El Bruno : Space Invaders para XNA ... source code included !!! — September 6, 2006 @ 6:12 pm

  4. Excellent! yeah, I’m with you on the shader thing. I tried reading what you did but am pretty confused. Torque looks like the way to go for most of the hard stuff. Thanks for posting your game and most importantly the code.

    Comment by ActRaiser — September 7, 2006 @ 4:41 am

  5. [...] After looking at everything as a whole I realize I have a long way to go until I am a compentent programmer espcially a competent Game programmer. For example i barely got a crappy space invaders done in about 10 hours total and here brownbot got a more complete space invaders in 5 hours. [...]

    Pingback by buddylindsey.com » Blog Archive » Long road ahead with XNA — September 12, 2006 @ 2:27 am

  6. [...] Buenas,hace unos días hablaba sobre la excelente campaña de la selección de basket en el mundial de Japon el lanzamiento de XNA Game Studio Express (Beta), para desarrollar aplicaciones para XBox 360.Pues bien, hace minutos me he encontrado con un desarrollo a medida de Space Invaders (un clásico) para esta plataforma. Si bien no he podido verlo en profundidad, ya el hecho de configurarlo y repasar un poco el código me ha puesto contento. Les recomiendo bajarlo y compilarlo, le dejo un preview :D  y el sitio original de la descarga http://brownbot.com/wblog/?p=293SaludosEl Bruno Published miércoles, 06 de septiembre de 2006 14:20 by elbruno Filed under: Visual Studio [...]

    Pingback by El Bruno : Space Invaders para XNA ... source code included !!! — September 30, 2006 @ 10:21 pm

  7. [...] Doing my normal scan of the different Blog sites I visit I came across this little example. (Direct Link)" Last week Microsoft released the first Beta of their XNA Game Studio, XNA Invaders is the result of around 5 hours of me mucking around with the code supplied in the help.It’s a very basic example of a 2D looking 3D game using only line primitives in XNA, it’s got no sound because you need to down load another 300 odd meg of DirectX SDK to bring a wave file in and I figured not everyone would want to do that." Published Tuesday, September 05, 2006 12:57 PM by Mykre [...]

    Pingback by Mykres Space : XNA Invaders — January 4, 2007 @ 4:30 pm

  8. how can I open the source code complete because when I try to open this it tells me that is not compatible with my instalation…… I can see the cs files but I cant run the game or compilate this…..

    Sorry for this kind of question but Im a student and new in this

    Thanks

    Comment by guillermo — August 28, 2009 @ 11:51 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

Powered by WordPress