Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Operating System Testing Demo

An asset by Godot Engine
The page banner background of a mountain and forest
Operating System Testing Demo thumbnail image
Operating System Testing Demo thumbnail image
Operating System Testing Demo hero image

Quick Information

0 ratings
Operating System Testing Demo icon image
Godot Engine
Operating System Testing Demo

This demo showcases various OS-specific features in Godot. It can be used to test Godot while porting it to anew 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

Supported Engine Version
4.2
Version String
4.2-31d1c0c
License Version
MIT
Support Level
featured
Modified Date
1 year ago
Git URL
Issue URL

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/677

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

README Top HiDPI

README Mono

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

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Operating System Testing Demo icon image
Godot Engine
Operating System Testing Demo

This demo showcases various OS-specific features in Godot. It can be used to test Godot while porting it to anew 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

Supported Engine Version
4.2
Version String
4.2-31d1c0c
License Version
MIT
Support Level
featured
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers