Archive for October, 2008

XNA Tutorial Series Updated to C# 3.0

Sunday, October 19th, 2008

I have gone through all of the tutorials with ReSharper on my side helping to optimize things and update all of the code to C# 3.0

There have also been a few minor architectural changes making the different managers (shaders, objects, input etc.) into GameComponents and DrawableGameComponents – which I have been thinking about doing for a while – that drastically simplified the Game class itself.

Take a look at the new setup and let me know what you all think in the forums.

The projects in svn will now require Visual Studio 2008 to be run, and some parts of the code use features available only in C# 3.0, but any of these that your compiler doesn’t support should be fairly easy to write in a C# 2.0 manner.

Major Progress on the Soft Body Simulation

Tuesday, October 7th, 2008

I’ll let the video do most of the talking, but the progress on the soft body work from the last two posts is coming along nicely. Correct pressure, momentum, and spring handling throughout the body is now fully working, and I can begin moving on to collision detection and other physics aspects outside the body itself now.

Here is a video of the current state of things. I start the demo out with half of the sphere scaled outwards from the center just to give the body something to fix when I start the update cycle. You can easily see the accuracy in the waves moving through the body and how far it has come in only a couple of days of work.

Soft Body Demo Video

Monday, October 6th, 2008

Here’s a first cut of a video of the soft body in action. This one I just offset a vertex near the top of the object a bit to show waves moving through the body after it is released.

Soft Body Dynamics – Precursors to fun

Monday, October 6th, 2008

So lately alongside the UI tutorial that I have been slowly churning out and making some hard decisions on I have also been throwing together a nice little tech demo using some soft body dynamics that I want to eventually use in a fast action fun XNA game possibly for later release on Xbox Live Arcade.

Assuming things on the Creator’s Club website go as expected, I would like to release the game (which isn’t even fully in the design stage yet) to the site and see what people think of it and hopefully push it all the way through the process out for public download from XBLA.

I’ll get some videos of the soft body stuff up as soon as I am happy with how all the physics behaviors are working out (hopefully soon).

Do NOT follow this link or you will be banned from the site!