I have implemented a feature that moves the screen/camera towards the direction the mouse is facing, so that you see more of what is in front of you, I have uploaded a movie showing the affect.
My code is awful though and I would rather not paste it I basically check where the mouse is and move the camera until it is X pixels from the center.
What I would like is for the screen to peak forward relevant to how far you move the mouse from the character. I have seen this affect in a few games and wonder if there are any code examples be it Java or Pseudo.
Poor mans version:
IGeyGHRv2nM
Thank you