I know that some of you have been looking for XNA source code examples, beyond what comes with the installation. I’ve looked around, and found a couple of recently released full source XNA games. Great to get inspired, study, use as samples, and just playing on your console!
A “little Christmas present” from Benjamin Nitschke (author of Professional XNA Game Programming), Rocket Commander is like a free Xbox Arcade game for those with Creators Club. Sweet!
20,000 lines of code, 2,000 lines of unit testing, all in one 213 kb package (source only)! To play the game with all the media, you’d need the Full Rocket Commander XNA source code (53 MB). Apparently XNA doesn’t take mp3s, so the converted music is ten times the size of what it should be. Ekk. Check out the website for more info, screenshots, or a Windows installer if you want to just play on a PC.
The goal is to score as many points as possible by creating trails across the play arena without touching any of the microbes. Longer trails score more points. If your player hits a microbe, the current trail is disqualified from scoring any points, and the player will become injured.
This one by Michael Anderson, the Microbe Patrol is a simple but fun game, so it could be easier to follow. Full source and media in one tiny 125 kb download.
This particular game demonstrates some nifty elements, such as “fake” anti-aliasing with XNA and text rendering (via drawing a bunch of lines) – for those without XNA Magic and TrueType vector fonts.
Pretty good examples to get started. I expect more free XNA games to become available with the Dream Build Play (though they are really stretching their “begins in January” date). Know of more game samples to share? Leave a comment!
Wow, Microsoft is really pushing XNA hard! Rightfully so, I think the idea and the implementation are absolutely fantastic. Of course, I’m no expert on game design by any stretch of the imagination, but this channel 9 episode had me salivating in no time. They also put out a fresh one recently.. downloading it as I write this!
Reply to comment
This would be exactly what I’m looking for except the links seem to be dead now
Reply to comment
It seems that the files were originally hosted on a home machine, and have since moved to a more permament location of http://exdream.com/RocketCommander/. I’ll update the links.
Reply to comment