Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Keep Screen On = False. Allows to turn off screen when app is open and system idle (energy efficient). (one-liner) #1125

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

msemelman
Copy link
Contributor

Godot's project settings are configured by default to prevent the system from turning off the screen. While this is helpful for games—such as when playing a cutscene—it’s less useful for creative tools like Pixelorama. When Pixelorama remains open during pauses in the creative process, this behavior can lead to unnecessary power consumption.

Solves
#1124

Solution description:
Updated project.godot to set window/energy_saving/keep_screen_on to false (by default is true)

Making use of
https://docs.godotengine.org/en/stable/classes/class_projectsettings.html#class-projectsettings-property-display-window-energy-saving-keep-screen-on

If true, keeps the screen on (even in case of inactivity), so the screensaver does not take over. Works on desktop and mobile platforms.

Updated project.godot to set window/energy_saving/keep_screen_on to false (by default is true)
Copy link
Member

@OverloadedOrama OverloadedOrama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@OverloadedOrama OverloadedOrama merged commit 0e71418 into Orama-Interactive:master Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants