Oo very useful, thanks!
window_mouse_queue for GameMaker
A downloadable extension
This is a wrapper for
GetMouseMovePointsEx function that allows to extract high-precision mouse/pointer motion data on Windows. Good for drawing software!
Call on game start!
- window_mouse_queue_get(xlist, ylist)
Adds new coordinates since the last call to the two provided
Returns the number of items added.
Note that this does not clear the lists prior!
Discards the accumulated coordinates without returning them.
If you aren't going to do anything with coordinates for this frame, you should call this function to avoid coordinate build-up.
Click download now to get access to the following files:
gamemaker-window-mouse-queue-gms1.gmez 7 kB
gamemaker-window-mouse-queue-gms2.yymp 9 kB
gamemaker-window-mouse-queue-gms2.3.yymps 11 kB
window_mouse_queue_demo_23.yyz 45 kB