Quote: "The entity still move not with the mouse pointer, instead it seems like it move potentially to the mouse pointer "
It looks like old "dbPositionMouse(dbMouseX(), dbMouseY());" issue.
Quote: "I tracked down the cause. The mouse position calculations are scaled according to the current window size (i.e. if the window has been resized by the user, maximized, etc). And the scale is a floating point calculation. However the input and output position information is quantized to integers. So there is continuous truncation of essential precision needed to keep the mouse stable.
"
Source:
http://code.google.com/p/darkbasicpro/issues/detail?id=16
3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz
OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics