A downloadable extension for Windows

Buy Now$0.99 USD or more

Native mouselock for GameMaker: Studio. 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.

Included functions:

  • display_mouse_lock(x, y, width, height)
  • display_mouse_unlock()
  • display_mouse_bounds() : Returns the current mouse' bounds as an array.

Supported platforms:

  • Windows (is a DLL)
  • Depending on demand, Mac and Linux may be supported in future.

Package contents:

  • The extension itself.
  • Sample project (shown on the GIF).
  • C++ source code.

Artwork pending.

More information

Published31 days ago
StatusReleased
CategoryAssets
AuthorYellowAfterlife
Tagsextension, GameMaker

Purchase

Buy Now$0.99 USD or more

In order to download this extension you must purchase it at or above the minimum price of $0.99 USD. You will get access to the following files:

display_mouse_lock.gmez 31 kB
display_mouse_lock_demo.gmz 40 kB

Download demo

Download
display_mouse_lock_demo.zip (2 MB)