I'm trying to achieve Mouselook in AppGameKit without depending on left click or right click to initiate the mouselook. You know how in regular FPS and 3PS games you can control the heroes aim/orientation just by moving the mouse?
Now how I do this currently is to log the pointers X and Y positions the moment I click the right mouse button, while the right mouse button is down I track the changes in the pointers X and Y position and apply those changes as angles to the camera. I'm trying to drop the dependency on the right mouse button but the problem I run into is when the pointer is at the extreme left, right, top or bottom of the screen you can no longer track mouse movement in that direction because there's no change in pointer position.
Now Dark Basic Pro had some neat little functions -
mousemovey() and
mousemovex() - that track changes in mouse movement irrespective of the position of the pointer. So for example, even when the pointer is at the extreme left of the screen and you still drag the mouse left, mousemovex() will still register movement. That's why in your FPS you can move your mouse to the left, pick it up, move it to the right, drop it back down on the table, move it to the left again and if you continue this action your character will continue spinning around. I don't think you can achieve this in AppGameKit, I may be wrong though.
Has anyone found a way around this with AppGameKit? A code snippet would be helpful. I did a quick search of the forums but couldn't find anything tangible.