Latest version of default screen saver

Upload your latest creations here, and download the latest creations here! This is where the creative tool shop resides.
Post Reply
Dr. Madskull
Posts: 20
Joined: Tue Jun 04, 2019 11:35 am

Latest version of default screen saver

Post by Dr. Madskull » Tue Jun 04, 2019 9:03 pm

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.
Attachments
javascript.js
(24.44 KiB) Downloaded 527 times
Last edited by Dr. Madskull on Sun Aug 11, 2019 12:27 pm, edited 3 times in total.

erik
Posts: 1
Joined: Tue Jun 04, 2019 11:04 pm

Re: Latest version of default screen saver

Post by erik » Tue Jun 04, 2019 11:07 pm

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?
:mrgreen:

Dr. Madskull
Posts: 20
Joined: Tue Jun 04, 2019 11:35 am

Re: Latest version of default screen saver

Post by Dr. Madskull » Thu Jul 04, 2019 3:46 pm

Hi Eric, that should be fixed now, in the new code posted 4th of July.

Dr. Madskull
Posts: 20
Joined: Tue Jun 04, 2019 11:35 am

Re: Latest version of default screen saver

Post by Dr. Madskull » Thu Aug 08, 2019 2:17 pm

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

Post Reply