. Topicala Page Index Token

A Journal about the experiences I have developing little applications in C#, Perl, Html and Javascript and talking about things new things that I use. Always Geeky; Always Nerdy; Always poor Grammer!

I am a Software Analyst Developer working in Southport, England but living in Liverpool. I develop mainly in C# and ASP.Net. I have been developing comercial software for several years now. I maintain this site (hosted at SwitchMedia UK) as a way of exploring new technologies (such as AJAX) and just generally talking about techie geek issues. This site is developed through a host of Perl scripts and a liberal use of Javascript. I enjoy experimenting with new technologies and anything that I make I host here.

Quick Search

Web www.kinlan.co.uk

Wednesday, August 30, 2006

Just Downloaded XNA Beta and I had to change the template code to get it to work

I think I am probably in a minority with the XNA, I am running on a really old athlon with a Geforce 2MX and I had to change some code because of a Device Creation Exception.

If you get some errors, check the inner exceptions and see if it is your device, i.e. Graphics Card that is causing the problems. 

In my case my device doesn't support MultiSampling on the Backbuffer so I had to add the following line to the InitilizeComponent in the Game object.

Before:

this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent();

this.GameComponents.Add(this.graphics);

After:

this.graphics =  new Microsoft.Xna.Framework.Components.GraphicsComponent();

this.graphics.AllowMultiSampling = false;

this.GameComponents.Add(this.graphics);

I hope this helps.

 

ps if anyone wants to donate any hardware email me ;)

,

Comments: [Add New]

Hello, i'm new in the game development and had the same problem but i didn't know how to fix it until i see this post :)

Thanks
C ya.

By Chango, at Thursday, October 19, 2006 3:44:00 AM