A downloadable thingy

Download NowName your own price

GMWinBackdrop is a native Windows extension that enables you to use the window backdrop styles introduced in Windows 11. Most notable of these is the acrylic style, which makes your game window partially transparent and blurs anything underneath it. This feature is available on Windows 11 22H2 (released February 28, 2023) and up.

In order for this extension to work properly, you must setup your game window to have nothing drawn underneath. This means disabling any background layers, enabling "Clear Display Buffer" on the room, and if you are using views, enabling "Clear Viewport Background". If you don't, then only the window title bar will be affected.

Functions

  • window_backdrop_set(type) - Set the type of backdrop material to use (see constants below to see what to pass to this function)
  • window_backdrop_get_type() - Returns the type of backdrop material the window is currently using
  • window_backdrop_reset() - Remove any set backdrop material and reset the window to its default state

Constants

  • WINDOW_BACKDROP_DEFAULT
  • WINDOW_BACKDROP_MICA
  • WINDOW_BACKDROP_ACRYLIC
  • WINDOW_BACKDROP_MICA_ALT

Info on these different types can be found here.

Tl;dr: Turn off your background layer and call window_backdrop_set(WINDOW_BACKDROP_ACRYLIC) for fun effect.

Download

Download NowName your own price

Click download now to get access to the following files:

GMWinBackdrop.yymps 5.9 kB
Version 1.0.0

Comments

Log in with itch.io to leave a comment.

Does this allow for transparent windows for games like desktop pets? I saw that in one of your preview gifs that it was possible

No, this is just is just for the blurry background effect that comes with Windows 11. To make a transparent window you can use YellowAfterLife's extension found here: https://yellowafterlife.itch.io/gamemaker-window-shape