Roy Triesscheijn’s Weblog

My programming world

XNA Farseer platform physics tutorial updated to Farseer 3

Posted by Roy Triesscheijn on 12th January 2011

Rabidlion has done an excellent update of my XNA/Farseer platform physics tutorial, which makes the code run on Farseer 3. This will bring great speed benefits, also Farseer 3 generates a lot less garbage (handy to know if you’re targeting the Xbox360).

You can find the updated version here.
(Original located here.)

I’ve also heard ‘rumours’ on his twitter feed that he’s working on another XNA/Farseer tutorial combo, so be sure to keep an eye on his website.

Update 26-02-2012, fixed links again

Tags: ,
Posted in Blog, General Coding, General Gamedesign, XNA | 6 Comments »

XNA Farseer platformer physics tutorial

Posted by Roy Triesscheijn on 10th September 2010

My XNA Farseer platformer physics tutorial is up and online at Sgt. Conker’s XNA website

Below is a sneak preview, but follow the above link for the complete article.

Today I’m going to introduce you to a neat 2D physics engine for XNA called Farseer. With the help of this 2D physics engine we are going to create a small platform ‘game’ while introducing the important concepts of Farseer like bodies, geometry, joints and springs.

By the end of the tutorial, you’ll be able to build something like:

Tags: , , , ,
Posted in Blog, General Gamedesign, XNA | 1 Comment »

Hollandia and Farseer physics

Posted by Roy Triesscheijn on 20th August 2010

The website header for Hollandia, starring Tulpje
I don’t know why I didn’t break this to everyone before. But I’ve been the lead developer of Hollandia for a few weeks already. Click the image or link to find out more :) .

For Hollandia I’m doing a rewrite of the engine. Since it’s a platformer the characters need to be able to jump onto things. So I had a choice to either write my own mini-physics-engine for this or to look for a valid alternative that I could easily plug in into the code that I had already written. Luckily I chose the last option and came across Farseer physics and I’m completely hysterical about it. After only one day of using it I’ve donated $10,- to show my support. Ok the manual pages could use a bit of work, but to aid in that I’m writing a Farseer physics platformer tutorial for the Sgt. Conker XNA Article Contest in which I will put everything that I’ve found out about Farseer so far (see it as a gentle introduction, since once you ‘get it’ Farseer is very easy).

Anyway some who follow my youtube channel might’ve seen this already, but I made a small video where you can see that I’ve implemented Farseer physics into the engine. Things are really starting to come together (Screen managers, Scene Graphs, Layered system etc… unfortunately you can’t see any of that in the video). Especially the artwork is really nice, but since I didn’t make the art work, I’ve turned it off for the below video. (I’m just showing the physics bodies).

And no, this is not the 4×4 all terrain infinite horsepower brutal Segway of doom ©. This is actually our main character walking around. (It doesn’t look so silly if you imagine a texture of a Dutch girl moving around instead of these funny boxes :) . The idea to do it this way came from this blog article by Bryan Dismas which in turn is based on this blog article by Robert Dodd

Tags: , , ,
Posted in Blog, Hollandia, XNA | 3 Comments »