im working on 2d shooter in c++ and my mouse cursor jumps from point to point instead of moving fluently.
It’s not a problem when camera is still and im just moving mouse but it is irritating when player/camera moves and i move cursor in the same time - it just jump those small steps.
I know that it’s because i get mouse points as int’s and i can’t find a method to get them in float or real…
So GetCursorPos() and LOWORD/HIWORD sux. Only thing i can think of to get it over is lowering mouse sensitivity in game by dividing those int points by something.
Are there any other methods in OGL?
THX for any suggestions ;*