Hi! I want to give the player the option of viewing their character up close to see what it has equipped (it's an RPG). I want to do this by scrolling the middle mouse button down and up. Scrolling up brings the camera close to the character and scrolling down brings the camera to it's usual place (high up like Diablo 3). Now I have the getting close part by using:
if ( dbMouseMoveZ ( ) > 0 )
{
//other code
}
and it works, but I don't know how to do the mouse scrolling down. I read that dbMouseMoveZ ( ) returns the difference of the last move. But I just don't know how to get this to work. Any help is greatly appreciated!
Use Google first... it's not rocket surgery!