August 21st, 2009

Silverlight driving game with Farseer Physics

All Silverlight Examples, Silverlight 3 tutorials, Silverlight Blend Tutorials, Silverlight Effects, Silverllight Games, by Gavin Wignall.

Click the Silverlight area first to give it focus then use the ‘A‘ and ‘S‘ keys to drive the truck backwards and forwards :) .

In this example I build a very simple driving game using the Farseer Physics engine. This add-on for Silverlight allowed me to build this example purely in Blend without having to touch a single line of code!

This example uses the drag and drop joint behaviours available to connect the wheels to the car and allow them to act independantly. I haven’t spent much time tweaking the available variables so the car is a bit too bouncy – so if you’re not careful, expect to roll it!

This example uses the Farseer Physics engine for Silverlight available for download on Codeplex here.

You can see my first example using Farseer Physics here, this earlier example also links to some tutorial videos that will help you get started.

Grab the code

Feel free to download the source for this example here.

Back Top

Responses to “Silverlight driving game with Farseer Physics”

  1. Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.

    Floria Wahpekeche at January 10, 2010 5:11 pm
  2. My teacher sent me to this blog, and she was absolutely right! Keep up all your great work.

  3. I’ve been reading a few posts and i’m adding your blog to my rss reader , thanks !

  1. Twitter Trackbacks for Silverlight driving game with Farseer Physics » Silverlight Buzz [silverlightbuzz.com] on Topsy.com (,August 21, 2009)

    [...] Silverlight driving game with Farseer Physics » Silverlight Buzz http://www.silverlightbuzz.com/2009/08/21/silverlight-driving-game-with-farseer-physics – view page – cached #Silverlight Buzz RSS Feed Silverlight Buzz » Silverlight driving game with Farseer Physics Comments Feed Silverlight Buzz Resizeable Silverlight shadow effects Additional physics based behaviors for Blend and Silverlight — From the page [...]

  2. Silvelight Resources Directory Update (28 Aug) (,August 27, 2009)

    [...] Original Post [...]

  3. Silvelight Resources Directory Update (28 Aug) « Silverlight News (,December 2, 2011)

    [...] Original Post [...]

Leave a Reply

Back Top