The Godot Q&A is currently undergoing maintenance!

Your ability to ask and answer questions is temporarily disabled. You can browse existing threads in read-only mode.

We are working on bringing this community platform back to its full functionality, stay tuned for updates. | Twitter

0 votes

I have a simple application. One 2d sprite which loads an image.
The sprite has a script attached with that code:

extends Sprite

func _ready():

This function must reduce cpu load. But it doesn't work.

I didn't specified target fps. Because I don't need to specify it. Low usage mod description says that it will stop any drawing processes if there is no application content updates.
I have a static image. So there is nothing to update.

in Engine by (46 points)
retagged by

1 Answer

0 votes

AFAIK, set_low_processor_usage_mode works only with Editor itself, not exported game.
I'm not quite sure though...

by (9,800 points)

It works in the game also, since it affects the OS class directly (i.e. it doesn't check if it is editor at all).

I saw reduz said "it doesn't work for android" somewhere.
So, I was not sure for this. hm...
maybe I remember wrong...

Well it doesn't work for me. I tried on Windows build without debugging.

When I tried it on Android it created flashing/strobing of my app and I had to remove it.

yes that was my case too. It made me lose almonst an entire day to figure out that was that function...

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.