Flux and Defold

Just a quick tip to anyone using f.lux:

When your display starts to dim at night, you will experience some sudden stutter in your game every few seconds. Don’t worry about this, it isn’t a performance problem, just a side effect of f.lux adjusting the screen. I changed one line of code and my game started to freeze up, so I thought I’d share this to make sure no one else gets confused when their game seems to break.

3 Likes

I wonder if it occurs on any GLFW game? Defold uses it for desktop targets. http://www.glfw.org/ Although I think it’s an older, modified version of GLFW 2 and not 3. Upgrading Defold to 3 might fix it as well as bring other improvements.