http://bryanheisey.com/blog/?p=1


That's probably the best way to handle screen movement in a platformer, just make the camera's y and or x equal to the player's x and y.

Cheers.