you just need to set the scrollmargins. these are found at the map properties. you could calculate how much you need, when you divide your display width through 2 and subtract the half of your player width. minus a few more pixels for more space around. or so. you can try some values. if strange picture errors occur, you have to choose lower values.
but this is also mentioned in a tut, i think.