Farseer Physics Engine Simple Samples v4

Rating: No reviews yet
Downloads: 591
Released: Dec 31, 2008
Updated: Dec 31, 2008 by Qbus
Dev status: Stable Help Icon

Recommended Download

Source Code Farseersimplesamples_v4.zip
source code, 181K, uploaded Dec 31, 2008 - 591 downloads

Release Notes

This sample can now build and run on Silverlight 2.0.
This sample used Farseer Physics Engine 2.0.1.

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.

Demo5
Shows simple collision and thereby use of vertices. Also shows how to draw vertices using Cameron Alberts helper method http://www.cameronalbert.com/post.aspx?id=1b69e6be-8a2d-49be-8d63-716e54dd1f61

Reviews for this release

No reviews yet for this release.