Edit of asset "Operating System Testing Demo" Accepted

Old/Current New/Edit
Title Operating System Testing Demo Operating System Testing Demo
Description 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.

How it works:

The OS singleton 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, environment variables, execution of binaries, command line, etc. The Time singleton is used to access system date and time.

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.

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

Renderer: Compatibility
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.

How it works:

The OS singleton 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, environment variables, execution of binaries, command line, etc. The Time singleton is used to access system date and time.

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.

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

Renderer: Compatibility
Category Demos Demos
License MIT MIT
Repository Provider Custom Custom
Repository Url https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/misc/os_test https://github.com/godotengine/godot-demo-projects/tree/4.2-31d1c0c/misc/os_test
Issues Url https://github.com/godotengine/godot-demo-projects/issues https://github.com/godotengine/godot-demo-projects/issues
Godot version Godot 4.2 Godot 4.2
Version String 4.2-31d1c0c 4.2-31d1c0c
Download Commit https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/misc_os_test.zip https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/misc_os_test.zip
Download Url (Computed) https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/misc_os_test.zip https://github.com/godotengine/godot-demo-projects/releases/download/4.2-31d1c0c/misc_os_test.zip
Icon Url https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/misc/os_test/icon.webp
https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/misc/os_test/icon.webp
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/misc/os_test/screenshots/top-hidpi.png
Thumbnail
Preview Insert
Type image
Image/Video URL https://raw.githubusercontent.com/godotengine/godot-demo-projects/4.2-31d1c0c/misc/os_test/screenshots/mono.png
Thumbnail