window_mouse_queue for GameMaker
A downloadable extension
Download NowName your own price
This is a wrapper for GetMouseMovePointsEx
function that allows to extract high-precision mouse/pointer motion data on Windows. Good for drawing software!
- window_mouse_queue_init()
Call on game start! - window_mouse_queue_get(xlist, ylist)
Adds new coordinates since the last call to the two providedds_list
s.
Returns the number of items added.
Note that this does not clear the lists prior! - window_mouse_queue_clear()
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.
Author: YellowAfterlife
License: MIT
Source code
Status | Released |
Category | Assets |
Rating | Rated 5.0 out of 5 stars (3 total ratings) |
Author | YellowAfterlife |
Tags | GameMaker |
Download
Download NowName your own price
Click download now to get access to the following files:
gamemaker-window-mouse-queue-gms1.gmez 7 kB
Version 1.0.0
gamemaker-window-mouse-queue-gms2.yymp 9 kB
Version 1.0.0
gamemaker-window-mouse-queue-gms2.3.yymps 11 kB
Version 1.0.0
window_mouse_queue_demo_23.yyz 45 kB
Comments
Log in with itch.io to leave a comment.
Oo very useful, thanks!
…how on earth did you know this has been on my mind a lot in the last week or so