Rabid Lion Games


Because I’m forgetful, and blogger doesn’t like me editing blog posts with code in them, I’ve added a seperate post on updating the tutorial from Farseer 3.0 and 3.2.

There are only 2 issues you should encounter upgrading the 3.0 tutorial to 3.2. The first is that CollisionEventHandler has been renamed as OnCollisionEventHandler (but the only the name appears to have changed).

The second is that fixture.IgnoreCollisionWith() is now fixture.CollisionFilter.IgnoreCollisionWith(). And that’s pretty much it! There are other changes between the two librarys, but these are the only ones we’d encounter.

If you need help updating the rest of the code from XNA 3.1 to 4.0, I suggest you check out the upgrade cheat sheet on xdsk2: http://www.nelxon.com/blog/xna-3-1-to-xna-4-0-cheatsheet/

Leave a Reply

eight − 6 =

Proudly powered by WordPress. Theme developed with WordPress Theme Generator.
Copyright © Rabid Lion Games. All rights reserved.