Files
Hugo Locurcio b4eff8de9d Update all demos for Godot 4.6, fix Global Illumination demo
- Rebake lightmaps in Global Illumination demo with supersampling
  to improve quality.
- Increase SDFGI quality in the Global Illumination demo
  (slightly more demanding, but better matches the quality standards
  of 2026).

All demos had Project > Tools > Upgrade Project Files ran on them
with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
2026-02-10 23:56:35 +01:00
..
2025-10-11 05:03:59 -07:00
2025-10-11 05:03:59 -07:00

Operating System Testing

This demo showcases various OS-specific features in Godot. It can be used to test Godot while porting it to a new platform or to check for regressions.

In a nutshell, this demo shows how you can get information from the operating system, or interact with the operating system.

Language: GDScript and some C# (a .NET build is not required to run this demo)

Renderer: Compatibility

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

How does it work?

The OS class provides an abstraction layer over the platform-dependent code. OS wraps the most common functionality to communicate with the host operating system, such as the clipboard, video driver, date and time, timers, environment variables, execution of binaries, command line, etc.

The buttons are connected to a node with the actions.gd script, which perform actions using the OS class. The text on the left is filled in using the os_test.gd script, which gathers information about the OS using the OS class.

On a Mono-enabled version of Godot, Godot will load MonoTest.cs into the MonoTest node. Then, information determined by C# preprocessor defines will be added to the left panel.

Screenshots

Top HiDPI

Mono