One huge body vs a lot of small ones

Aug 1, 2011 at 5:48 AM
Edited Aug 1, 2011 at 7:10 PM

Hello!

I just started making a tile-based 2D-platformer for Xbox and PC. I am wondering if I should make every tile a body or if I should make the whole level as one body since I am using Tiled Map Editor which allows me to import the whole lvl as a .png. I am planning to make quite big levels, something the size of levels in Super Meat Boy and Braid. Also, I use atm 40x40 blocks but that I will possibly change that later. One body would be atleast easier to handle and would make my code quite a lot cleanier, but would it be a big perfomance hit and is it even possible to make just one big body even if I have the .png of the level?

 

Thanks.

 

Edit: Infact, "can" I even use Farseer since I don't really want realistic physics ?

Developer
Sep 12, 2011 at 9:17 PM

If you don't want realistic physics don't use Farseer. Creating a basic non-realistic physics engine without support for real rotation can be done in just a few hours.