Introduction to XNA Game Development For PC, XBOX360, Zune and Windows Phone.


Microsoft .NET platform came long way from its first release. Now lots of Microsoft technologies depend on .NET platform. Technologies like Silverlight, WPF, ASP and WCF among them. In early 2002 there was a technology called Managed DirectX (MDX) which used DirectX API. But it mainly uses for small graphic applications.Because of its slow performance. After that Microsoft had reengineered and came up with new technology called XNA. Which was announces March 24, 2004 at Game Developer Conference. Microsoft main goal in XNA was to create a tool set that can target multiple platforms with minimum code change. With the XNA 1.0 release in 2006 they had crate a tool set to support both PC and XBOX360 game development. As of now XNA Supports game development for 4 Platforms with the same C# code. Those are PC, XBOX360, ZUNE and Windows Phone.

XNA Game Development Video Learning.

1 $ Limited offer available now.

 

Microsoft XNA supports Windows XP, Windows Vista and Windows 7 in PC Game development. And cost of making and selling games on PC is 100% free. All the Visual Studio versions support XNA .Current final release XNA 4.0 for Visual Studio 2010 which supports Windows Phone Development. And minimum requirement to run XNA project is having a graphics card that supports DirectX 10.

clip_image016

XNA Game Studio 4.0 new Project Template.

If you making a Game for XBOX360 and plan to sell it on XBOX Live market Place you need to buy APP Hub membership. Which is 99$ per year and it will provide distribution of your game through XBOX Live market place. You can find those games in XBOX360 Game Marketplace under Indie Games Channel.

clip_image017

Now there are over 1000 Indie games available on XBOX Live market place. And all are created using XNA and C#.There are few games on XBOX Live Arcade which created using XNA.

Also new version of the XNA supports Avatars, Xbox live networking, XBOX Live Party API.

clip_image019clip_image021

Avatar Golf –XBOX Live INDIE Game.

 

clip_image023

For the Zune based game development you can use XNA 3.0 or XNA 3.1 .It supports only 2d based games. Because it doesn’t have 3d rendering capabilities .With the Zune XNA API you can access ZUNE music player and add the playlists as background music in the game. Also in Zune HD you can access ZUNE Touch API for XNA.

Windows Phone is earlier named as Windows Mobile. And to make games for windows mobile you need DirectX C++ API. But with the Windows Phone you can use same XNA API to make 2d and 3d games for Windows Phone platform.

 

XNA API.

Microsoft.Xna.Framework

Microsoft.Xna.Framework.Audio

Microsoft.Xna.Framework.Content

Microsoft.Xna.Framework.Design

Microsoft.Xna.Framework.GamerServices

Microsoft.Xna.Framework.Graphics

Microsoft.Xna.Framework.Input

Microsoft.Xna.Framework.Media

Microsoft.Xna.Framework.Net

Microsoft.Xna.Framework.Storage

 

spriteBatch.Begin();   //start the sprite batch process to draw the font

spriteBatch.DrawString(spritefont, “Hello world”, new Vector2(100.0f, 100.0f), Color.YellowGreen)

//draw the font in the screen

spriteBatch.End();   //end the sprite batch process

Sample XNA Code segment that used for draw Hello World in the screen

(Only the draw method)

To get started with the XNA you can visit http://create.msdn.com/en-US/

It’s the official site for the XNA tutorials, videos and forum. And there are many other sites providing XNA resources too. You can easily find them on Bing.

Advertisements

One Response

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: