Page 1 of 1

Latest version of default screen saver

Posted: Tue Jun 04, 2019 9:03 pm
by Dr. Madskull
Hi everyone, here is the latest version of the screen saver javascript coming with the app.

Following are the fixes:

11th of August
  • The changes from 4th of July are back, I accidentally used an older version for the 8th of August changes. Now merged and you have both changes in one version. :mrgreen:
8th of August
  • A long-awaited bugfix: Now the screensaver subtracts the time it has been minimized from the time calculations. This effectively means the ancient civilizations (white dots) don't emerge just because the screensaver gets minimized! Looks nicer, all in all. :)
4th of July
  • Screensaver now fill up the entire screen by default. You can still enforce the 1920x1080 by setting keepHD to true.
  • If the screen gets too empty the screensaver 'reboots' by filling up the screen with random food. You can turn this off with the doReboot flag.
  • Just a few changes in the settings and some more notes in code, in English.

Re: Latest version of default screen saver

Posted: Tue Jun 04, 2019 11:07 pm
by erik
Hi, I have a problem: the screen saver is not filling up the entire screen, the bottom of the screen are green. What's wrong?

Re: Latest version of default screen saver

Posted: Thu Jul 04, 2019 3:46 pm
by Dr. Madskull
Hi Eric, that should be fixed now, in the new code posted 4th of July.

Re: Latest version of default screen saver

Posted: Thu Aug 08, 2019 2:17 pm
by Dr. Madskull
For a clearer code example for taking total pause time into account, please take a look at this code example: How to control framerate / lower cpu usage