A downloadable extension

Buy Now$2.95 USD or more

Quick links: documentation · GM Marketplace · source code

Platforms: Windows, Windows (YYC)
Versions: GMS1, GMS2, GMS2.3/GM2022+

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

Note 2: This extension is partially superseded by window_get_visible_rects in the 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

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-for-GMS1.gmez 7 kB
Version 1.1
display_measure-for-GMS2.yymp 15 kB
Version 1.1
display_measure-for-GMS2.3+.yymps 16 kB
Version 1.1
display_measure_demo.yyz 26 kB
Version 1.1
display_measure_demo.gmz 58 kB

Download demo

Download
display_measure_demo.zip 2 MB

Development log