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

,

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.

I love to learn about what you are building, and how I can help with Chrome or Web development in general, so if you want to chat with me directly, please feel free to book a consultation.

I'm trialing a newsletter, you can subscribe below (thank you!)