Native mouselock for GameMaker
A downloadable extension for Windows
Versions: GameMaker: Studio, GameMaker Studio 2 (inc. ≥2.3)
Platforms: Windows, Windows (YYC)
Native mouselock for GameMaker. Perfect for games with screen-space mouse aiming - no more need to worry about the game not restricting the mouse position quickly enough and user clicking outside the window - with this extension the mouse cannot escape the specified region, as it uses OS-level functionality to confine it.
- display_mouse_lock(x, y, width, height)
- display_mouse_bounds() : Returns the current mouse' bounds as an array.
- The extension itself.
- Sample project (shown on the GIF).
- C++ source code.
In order to download this extension you must purchase it at or above the minimum price of $1 USD. You will get access to the following files: