I love gaming. Long before the death match 95 tournament with Windows 95 that featured Bill Gates in a trench coat, I was playing computer games. Two of the first games I remember playing were The Ancient Art of War and Montezuma’s Revenge – simple but fun. I soon became a Sierra devotee, and devoured games such as Kings Quest, Heroes Quest (renamed Quest for Glory), Space Quest, Police Quest, and Leisure Suit Larry (just don’t tell my dad). However, my favorite all time game was Starflight from Binary Systems – this game had everything: space battles, exploration, great story line, and it required strategy and a lot of invested time.
As an aside, I have seen the Starflight and Starflight 2 executables, along with some of the other games I’ve mentioned, floating around the Internet for awhile. It is possible to use DOSBox – an x86 emulator with DOS – to play these games.
The common theme to all of this, of course, is that my gaming platform was the PC – while I had a Nintendo, I never really considered it a decent gaming platform. All of the console platforms of the day – Sega, Atari, Nintendo - paled in comparison to the PC as a gaming platform. Even today, I prefer the PC to a console. Despite this prejudice, I have come to love my Xbox 360 – not only is it a great gaming platform, but it’s the media hub of our entire house.
For a long time I’ve wanted to try my hand at making a game, but I’m a developer not a designer. Additionally, I know nothing about DirectX, OpenGL, and other multimedia/gaming APIs. While I’ve known about the XNA since it released in 2006, I never made the time to try it out. For those of you that aren’t familiar with XNA, it’s a framework with a set of tools that facilitates the development and management of computer games. The best part is it uses C#!
Now, there’s a lot that goes into making a game. I’m a complete noob, and I’ll try to share the things I learn on this blog as I go. As I see it, the first step is actually getting your tools and environment setup. It is this process that I intend to outline in this article. The process is a bit confusing, but what I’ve been able to piece together are the following three steps:
Setting up your XNA account
Configuring your Xbox
Deploying your first “game”
I should also mention that my goal here is to build and deploy a “game” to the Xbox 360. This may seem contradictory given my stated preference for the PC above, but there’s more to the Xbox 360 than just games, and eventually I’d like to build applications for the Xbox (not just games).
The first thing to do is get your XNA account all setup. This allows you to deploy games to your Xbox 360. It will also cost a little $$.
Download XNA Game Studio 3.1. I grabbed it via my MSDN membership, but I believe you can find it elsewhere too. You can get it for Visual C# Express here.
Go to the XNA Creators Club Online and setup an account. Note: It’s very important that you use the same account that’s associated to XBOX Live. Review the different membership options – you will start off as Registered (after creating an account) and you want Premium.
While straightforward, I never found this process nicely spelled out and defined.
The next thing to do is setup your Xbox such that you can deploy your games to it. This one took me a bit longer to figure out because of all the various steps.
Go to your Xbox 360 and turn it on.
Log into your Xbox Live account on your Xbox 360. Remember how you used the same Live ID in step #2 above? This is why you did so.
The next step is to setup the XNA Game Studio Connect software on your Xbox . Follow these steps:
Select Game Marketplace
Select Explore Game Content
Select Browse
Select title X
Select title XNA Creators Club
Select All Downloads
Select XNA Game Studio Connec t
Select Confirm Download
Select Play Now
The application will provide you a connection key that you’ll use to register your Xbox with your development environment. Write down the key.
Return to your development machine.
Open up the XNA Game Studio Device Center.
Click Add Device.
Okay, everything’s setup. Now to build and deploy a game.
Take a look at this great “Hello World!” in XNA post by Nezeeh. Follow the steps – they are very simple.
Ensure that the XNA Game Studio Connect application is still running on your XBOX.
And there you have it! Your “game” is running. I apologize for the poor quality pictures – I used my phone as it was easy and available.
All in all, this process shouldn’t take you more than an hour. I spent about three hours trying to figure it all out, but I guess I’m just slow. I hope you find this valuable.
Happy gaming!