I have spent the last 2 or so days preaty heaverly trying to get a pixle perfect Platformer engine up and running.

The way i was doing it was checking for a collision on each side of the hero, then running a loop to see how many pixles it went into the object then move it to the right spot. I got all for sides working fine, i then started working on adding in code to support gravity which means the hero would no longer move only in 4 ways. I started running into problems there, i can easerly code what i need done, its just that i dont know when i need to check for the collisions. If i stop running all other collision and just check for 1 collision to test to see if my code works it runns fine but once i start adding in the others my hero starts flying all over the place and getting all screwy.

I am hoping some one has made a good one or even has an article on how it can be done properly.

Cheers