Microsoft XNA and XBOX 360 Games Development:


For those who are interested and qualified: From mp3 on-wards, you can do all you programming assignments based on the XNA framework and run your programming assignments on the XBOX 360 console.

BEFORE you read on, ask yourself this question: should I consider working on the XBOX 360? If you are not really sure, then, don’t! Here are some reasons why one should not choose the XBOX 360 option:

1.     Unknowns: This is a new technology, there are tons of unknowns. Since this is not part of our class work, I can only support you on the side.

2.     Costs and Access: You would have work exclusively in the UW1 lab (remember the building closes at night). If you want to work from home, you must have access to an XBOX 360 console. Fortunately, with Microsoft’s gracious support, I can provide you with access to a free XNA Creator’s club account.

3.     Programming Environment: You will be working in a completely different environment:

a.      IDE: XNA Games Studio Express, this is very similar to Visual Studio but it is not the same.

b.     API: XNA Framework, this is a slight wrapping over the DX9, but it works differently.

c.      Programming Language: C#, not C++.

If you are still reading, thank you. I admire your persistent! And believe me your persistence is well worth it! We learn computer graphics concepts in class, if you dedicate the time to apply the concept in this new and different technology, not only will you end up learning more, your assignments will be that much cooler and that much more fun. Most importantly, your resume will be that much more impressive! Not only do you have hands-on experience on one of the cutting edge technology, the motivation, self-discipline, and dedication you have demonstrated will certainly attract future employer’s attention!

Now the last requirement for working in the XBOX 360 console, you must demonstrate that you can master all of the materials cover in our class.  You can demonstrate your mastery of the course material by scoring better than average scores in mp1 and mp2.

If you are still reading, GREAT! Here is what you need to do:

1.     IDE:

a.      You will be working with Visual C# Express. You can download a free version from here.

b.     You will need to download XNA Game Studio Express.

2.     API Run time: if you want to run your XNA based programming assignment on your PC, you will need to download the XNA Framework redistributable.

3.     Documentations:

a.      For the IDE: XNA Games Studio Express.

b.     For the API: XNA Framework class library documentation (this is also available off the help menu from the XNA Games Studio Express).

4.     On-line discussions: This is MSDN XNA discussion bulletin. As in all on-line discussion sites, this place has many useful information, unfortunately, it also contains many not very helpful (and sometimes even misleading discussions). Read with care, and watch out, sites like these can easily take up your entire day!

I played around with the XNA API slightly, it is basically a wrapping over DX9. Here are some simple examples:

 

  1. Drawing simple points.
  2. Drawing Triangle Fans with Color Interpolation.
  3. Drawing with color textures.
  4. Working with the input job stick.
  5. Working with multiple viewports and multiple drawings.

 

You can download the zip files, uncompress, compile into XBOX 360 executable, and follow these instructions to load your program to the XBOX 360.

 

If you want to work with your home PC and XBOX 360 console please contact me to gain access to a XNA Creators Club account. If you are interested in obtaining an account for yourself: it costs $99- a year to subscribe to the XNA Creators Club (here is how).  The CSS has one Creators Club subscription:

 

            Gamer Profile: cssxna

            Email Login: cssxna@hotmail.com

            Password: contact Kelvin (ksung@u.washington.edu)

 

On the XBOX unit that is towards the front of the Windows Lab (hostname is: xna), cssnxa is the default gamer profile. You should be able to load your XNA games onto this unit. Here are the steps:

 

1.     On your laptop:

a.      make sure you have the IDC (C# Express) and the API (XNA Framework) installed.

b.     Windows XP Firewall setting: Control Panel->Windows Firewall: Exceptions Tab. Scroll down to find “XNA Game Studio Transportenable this exception.

c.      Bring an Ethernet cable to plug-in wire network connection, such that your laptop is on the same subnet as the XBOX unit.

 

2.     Start the C# Express, Under Tools->Options: Expand “XNA Game Studio” under XBOX 360, add:

a.      Xbox360 Name: xna

b.     Connection Key: generate a new connection key on the XBOX.

 

3.     At this point, you have all the required settings and you can start download and test your XNA games!

 

Warnings:

 

  1. Learn and Help: I have only worked with the XNA framework in a very limited fashion. Basically the above 5 examples. I am confident XNA Framework supports everything we need to do. However, it is true that I do not know how to do everything! If you want to work with XNA and XBOX 360, I will work with you, but be prepared for unknowns and (sometimes extreme) frustrations!

 

  1. Access: As mention before, to access your own XBOX 360 console you must be a member of the XNA Creators club. In order to for your PC to communicate with your own XBOX 360 console, you must obtain a key from your XNA Creators Club account, and type this key in the XNA Games Studio Express. After you are enrolled in the XNA Creators Club, here is how to do it.  The given examples are programmed to connect to the XBOX 360 console in the lab (xna), you must change the keys to your own if you want to load/run these examples at home.