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.
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.
My teacher sent me to this blog, and she was absolutely right! Keep up all your great work.
I’ve been reading a few posts and i’m adding your blog to my rss reader , thanks !
[...] 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 [...]
[...] Original Post [...]
[...] Original Post [...]