A downloadable extension

Buy Now$2.95 USD or more

Quick links: documentation · GM Marketplace (if you prefer)

Note: You also get this extension when you buy Desktop Screenshots

Note 2: This extension is partially superseded by window_get_visible_rects in current GameMaker versions

This miniature extension lets you poll coordinates and dimensions of all displays, alongside with active areas (in other words, areas excluding taskbars) and minor metadata (whether the display is primary, system-assigned display name).

This can be used for things like:

  • Getting dimensions of the monitor where your game is (rather than the primary one)
  • Positioning your game relative to work area (minus taskbar) rather than just desktop
  • Letting the multi-monitor users pick where to show the game

Supported versions: GMS1, GMS2
Supported platforms: Windows, Windows (YYC)

Purchase

Buy Now$2.95 USD or more

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

display_measure.gmez 34 kB
display_measure_demo.gmz 58 kB

Download demo

Download
display_measure_demo.zip 2 MB