Week #2 Challenge: XNA Framework

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

59 Replies - 17217 Views - Last Post: 02 February 2010 - 09:24 PM

#1 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Week #2 Challenge: XNA Framework

Post icon  Posted 11 January 2010 - 06:33 AM

Posted Image Week #2: XNA Framework

Posted Image


Challenge: Explore XNA Game Studio


With the release of Microsoft Visual C# 2005 Express Edition, Microsoft also release the XNA Game Studio Express Framework to allow C# programmers to create games for Windows and the XBOX 360. Microsoft eventually released XNA Game Studio 2.0 for the Visual C# 2005, they dropped the Express part. It was just for the Express Edition at first but it was so well received that support for the full versions of Microsoft's Visual Studio was added. With the release of Visual Studio 2008 and the Express Editions, Microsoft started work on XNA Game Studio 3.0 and now there is XNA Game Studio 3.1 which supports both 3.0 and 3.1.

XNA is a framework that works with DirectX to allow developers to create games for Windows, the XBOX 360, and now Microsoft's Zune (but with limits for the Zune.) It is an easy to use framework that takes many of the complexities out of game programming and is well suited for hobbyists and those who have never written games before. Both the XNA framework and Microsoft Visual C# 2008 Express are free to download from Microsoft and free for both personal and commercial use.

With XNA you can create games easily, even if you have never written a game before. Writing games can be fun and rewarding. Watching somebody play and enjoy your game can give a wonderful sense of accomplishment. There have been many excellent games created using the XNA framework. You can find many tutorials and starter kits on the XNA Creators Club web site. Don't be afraid to try it. You might find out that you like it.

To kick off the challenge, I have created a simple space shooter, the complete project is available below. (The code is heavily commented for beginners.)
Attached File  AlienInvasion.zip (58.92K)
Number of downloads: 518

Ideas:
For those of you who don't know what to do with XNA, here's some ideas:
  • Extend one of the starter kits from XNA Creators Club
  • Create an image browser
  • Have fun with sprites
  • Play sound files
  • Create a simple XNA game (Good for C# programmers)
  • Write an XNA tutorial (Good for XNA programmers)
  • Create a simple XNA network game (Good for XNA programmers)
Resources:
There are a variety of resources on the web on XNA. The most important is the XNA Creators Club. If you want to develop games for the Xbox 360 with XNA you will need a membership with the XNA Creators Club. Considering how much a licence to create games with other console's costs it is a great deal for an independent developer.We also have a XNA forum. There are a few snippets in the C# Snippets area and a few tutorials in the Game Programming Tutorial area. I also have several blog entries here on Dream.In.Code on getting started with XNA.

How To Get Started:
You will need Visual C# 2008. If you don't have a commercial version of Visual Studio, you can download the Visual C# 2008 Express Edition for free. After you have installed Visual Studio, or Visual C# 2008 Express, download and install the XNA 3.1 Framework and install it. Once you have it installed you are ready to create a new XNA game. After launching Visual Studio, from the File menu select New Project. Under the Visual C# node there will be entries for XNA Game Studio 3.0 and XNA Game Studio 3.1. Select one of those and give your project a name.

Submit Your Challenge:
When you've completed the challenge, reply to this thread with a .zip/link/code/etc. of what you did.

Getting Help:
Post questions in our XNA Forum.

Is This A Good Question/Topic? 0
  • +

Replies To: Week #2 Challenge: XNA Framework

#2 SwiftStriker00  Icon User is offline

  • No idea why my code works
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,596
  • Joined: 25-December 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:27 AM

Common SixOfEleven, dont be humble you forgot your site as a reference:

http://www.jtmbooks....atutorials.html

This post has been edited by SwiftStriker00: 11 January 2010 - 09:27 AM

Was This Post Helpful? -1
  • +
  • -

#3 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:30 AM

Didn't want to plug my site for the challenge. I've acutally updated the site to be: http://xna.jtmbooks.com for those who are interested.
Was This Post Helpful? 0
  • +
  • -

#4 [RTS]BN+VS*  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 175
  • Joined: 23-March 09

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:32 AM

XNA fails for not working with VS2010 beta 2 :(
Was This Post Helpful? -1
  • +
  • -

#5 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:34 AM

I'm sure that Microsoft is going to release a version of XNA for Visual Studio 2010 at some point in the future. Go a head a try it with Visual C# 2008. It will prepare you for the next release of XNA which I'm sure will be XNA 4.0 and will many new and cool features added to it.
Was This Post Helpful? 0
  • +
  • -

#6 SwiftStriker00  Icon User is offline

  • No idea why my code works
  • member icon

Reputation: 433
  • View blog
  • Posts: 1,596
  • Joined: 25-December 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:35 AM

View PostSixOfEleven, on 11 Jan, 2010 - 10:30 AM, said:

Didn't want to plug my site for the challenge. I've acutally updated the site to be: http://xna.jtmbooks.com for those who are interested.


I guess i'll have to update my bookmarks.
This challenge should have some fun results
Was This Post Helpful? 0
  • +
  • -

#7 Shane Hudson  Icon User is offline

  • D.I.C Technophile
  • member icon

Reputation: 343
  • View blog
  • Posts: 1,286
  • Joined: 06-December 09

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:43 AM

I thought you had to pay for XNA, did not realise it was just for Xbox 360... just installing it now!
Was This Post Helpful? 0
  • +
  • -

#8 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 09:45 AM

I'm going to try and write a castle defense game over the next week. I'll post some screenshots as I progress through it.

View PostShane Hudson, on 11 Jan, 2010 - 11:43 AM, said:

I thought you had to pay for XNA, did not realise it was just for Xbox 360... just installing it now!


Good luck with it. I was a little sceptical at first when I tried XNA 2.0 but I was impressed with it.
Was This Post Helpful? 0
  • +
  • -

#9 antshockey  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 45
  • Joined: 16-October 09

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 11:42 AM

I've just started writing a simple command line RPG in C++ but I think a nice simple XNA game will be a fun challenge, it's always nice to go back to XNA because it's what got me into programming in the first place.
Now to think of a few ideas... :)
Was This Post Helpful? 0
  • +
  • -

#10 Lehm2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 09-January 10

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 11:52 AM

Not a Linux friendly competition this week. But yeah it's good to introduce XNA framework.
Was This Post Helpful? 0
  • +
  • -

#11 Theaegd  Icon User is offline

  • Hater & Lover

Reputation: -125
  • View blog
  • Posts: 944
  • Joined: 15-August 09

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 02:43 PM

This should be pretty fun. and since it isnt a specific challenge that is nice to.
Was This Post Helpful? 0
  • +
  • -

#12 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1875
  • View blog
  • Posts: 20,284
  • Joined: 17-March 01

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 02:47 PM

View PostLehm2, on 11 Jan, 2010 - 11:52 AM, said:

Not a Linux friendly competition this week. But yeah it's good to introduce XNA framework.


Next week we'll have a good cross platform challenge!

View PostTheaegd, on 11 Jan, 2010 - 02:43 PM, said:

This should be pretty fun. and since it isnt a specific challenge that is nice to.


We're trying to keep the challenges fairly open ended and just providing some ideas so you can take it as far as you want. And since you don't have to do them in a week, you can take your time if you want.
Was This Post Helpful? 0
  • +
  • -

#13 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 02:59 PM

View PostTheaegd, on 11 Jan, 2010 - 04:43 PM, said:

This should be pretty fun. and since it isnt a specific challenge that is nice to.


I'm sure, with your experience you should be able to come up with something good. Keep us posted on how you are doing with this, if you are participating.
Was This Post Helpful? 0
  • +
  • -

#14 Dogstopper  Icon User is offline

  • The Ninjaducky
  • member icon



Reputation: 2873
  • View blog
  • Posts: 11,032
  • Joined: 15-July 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 03:04 PM

Any thoughts on getting it to work with mono?

And no, not Linux friendly...
Was This Post Helpful? 0
  • +
  • -

#15 SixOfEleven  Icon User is offline

  • using Caffeine;
  • member icon

Reputation: 945
  • View blog
  • Posts: 6,342
  • Joined: 18-October 08

Re: Week #2 Challenge: XNA Framework

Posted 11 January 2010 - 03:12 PM

Unfortunately the project to get it to work with Mono is still in the early phases. Yes, it is not a *nix friendly challenge but it is pretty popular and you can do a lot with it. The next one should be cross-platform.

You can check out this thread on working with XNA in Linux.
http://www.dreaminco...topic143798.htm
Was This Post Helpful? 1
  • +
  • -

  • (4 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »