This project has moved. For the latest updates, please go here.

Tiled maps & collision

Topics: User Forum
Nov 30, 2011 at 10:30 AM

Hi all,

I'm using Tiled map editor for my 2d platformer. I have a separate collision layer. Currently my collision is not perfect and I was thinking to implement Farseer to help me out with the collision detection of the player against the world (for now).

Is there a simple tutorial or code that can explain how to do this?



Nov 30, 2011 at 2:01 PM

Just create a class to read the map file and convert i into Farseer Physic objects.

Just integrate Farseer Physics Engine with you engine and use the collision of Farseer and render it with your own code. Or you could use the farseer's integrated rendering. 


There are many options to do this. It's up to you to choose what you want and what fits you.