Files
godot-demo-projects/misc/window_management
Hugo Locurcio 6424e02ebf Add fallbacks and mention non-working features when using Compatibility or the Web platform (#1132)
- Make 3D lights with shadows darker when using Compatibility to better
  match the appearance of Forward+/Mobile, due to the use of sRGB blending
  for those lights.
- Silence some warnings when running projects with the Compatibility
  rendering method, such as the one about 2D MSAA not being supported.
- Rebake lightmaps in Global Illumination to improve quality and reduce
  light leaking with improvements from 4.3.
  - Increase probe density for dynamic objects, and mark the moving box
    as a dynamic object for GI purposes.

This is done to improve the experience with the web-based demos,
which always run with the Compatibility rendering method.
2025-10-02 10:31:42 -07:00
..
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00

Window Management

A demo showing the various window management features available through DisplayServer.

  • Moving the window.
  • Making it resizeable / nonresizeable and setting its size.
  • Minimizing and maximizing.
  • Moving the window around.
  • Making the window transparent.
  • Capturing, hiding or confining the mouse.
  • Getting various information about the screens, including DPI and refresh rate.

Language: GDScript

Renderer: Compatibility

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2791

Screenshots

Screenshot