Laumania.net

A Silverlight developers blog

Farseer simple samples on Codeplex release 2

I have just published a 2. release of the Farseer simple samples / tutorial(s) on codeplex.

Check it out here

The new release includes the following:

Demo1
Basic application with a falling yellow box.

Demo2
Controlling the box with the keyboard. This includes the KeyHandler.cs from the original Farseer Physics Engine.

Demo3
This demo introduce Geometry and Vertices, which are used to keep track of collision between the two yellow boxes in this demo. The boxes have different mass.

Demo4
This demo adds a little more complexity as we here use an interface called IUpdateable. This is done as we now have two different types of classes that need to be updated at the gameloop. We both have the PhysicsBox from all the other demoes and a new FixedLinearSpringBrush, which is used to draw a line. In this demo you can click one of the boxes and drag it by moving the mouse and holding down the left mouse button.

Enjoy

Posted: Aug 23 2008, 11:49 by Mads | Comments (2) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Farseer simple samples on Codeplex

As you might know, I created some small "simple samples" in silverlight 2.0 for the Farseer Physics Engine here on my blog. Today I have started putting them on Codeplex.com. I thought I would put them some place else then my blog, as more people maybe will benefit from them, and I have a nice work item/source controll for free also (TFS).

In the first release there is only one single project called "Demo1". It's showing you how to make the farseer engine run, as simple as possible. The samples also works a a kind of tutorial /tutorial, as there is pretty many comments in the code, where I try to explain why I do the different kind of things.

Enjoy - http://www.codeplex.com/Farseersimplesamples

Posted: Aug 16 2008, 17:25 by Mads | Comments (2) RSS comment feed |
  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5