Native cursors for GameMaker
A downloadable extension
Links: documentation · source code
This extension enables your GameMaker games to use system-level custom cursors. Such cursors are framerate-independent and have zero lag.
Use of native cursors is particularly important for any players that might run your game at displays with higher refresh rates or with vertical synchronization enabled, as mouse lag can be disorienting for many.
There are two versions of the extension here,
native_cursor
This is a version for semi-recent GameMaker versions (GM2022+ and LTS).
You create cursors from sprites/surfaces/buffers and you say which one you want to use.
It's compatible with Windows, Linux, and HTML5 targets.
window_set_cursor
This is an older version of extension that's compatible with older GameMaker versions, down to GameMaker: Studio.
It uses a simpler "change cursor to this" set of functions that [re-]create the cursor on spot. This is slower if you need to change custom cursors often.
It's compatible with Windows and HTML5 targets.
Purchase
In order to download this extension you must purchase it at or above the minimum price of $6.95 USD. You will get access to the following files:
Development log
- [V2] HTML5 and Linux support!5 days ago
- 2024.13 workaround edition57 days ago
- [V2] Callbacks and future changesOct 14, 2024
- [V2] Various fixesApr 02, 2023
- V2 beta and GM2022.8 compatibilitySep 09, 2022
- 2.3.1 compatibility and a mystery crash fixOct 22, 2020
- A 2.3 version and performance improvementsAug 31, 2020
- Added a GMS2 versionDec 10, 2019