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 ;)

,

Picture of me smiling.

Paul Kinlan

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on web.dev, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

RSS Github Medium