Discuss Scratch

gigapouch
Scratcher
1000+ posts

Screensavers for OS

How do you activate a screensaver on an OS made with Scratch? I want it to activate a certain amount of time the project is inactive.

I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
drmcw
Scratcher
1000+ posts

Screensavers for OS

when [timer v] > (20) // change for time out
.. // do screen saver stuff

Just reset the timer when something is done in your OS

10 !
ScratchVaders or Galaga?
Maybe Eliza can help you decide?
levtey
Scratcher
100+ posts

Screensavers for OS

If mouse not moving (make a variable and set to 1 when mouse is moving) or moving reset timer. When timer > 60 (1 min) show the screensaver and next costume.
ScratchinFaves
Scratcher
60 posts

Screensavers for OS

Here's a way to do it:
when green flag clicked
forever

if <mouse is moving> then
set [variable v] to [1]
else
set [variable v] to [0]
end
end

when green flag clicked
forever

if <(variable) = [0]> then

repeat

switch costume to [screensaver v]
end
end
end

Need a new sig?~┌₪┐~PET ROCKS ROCK!
gigapouch
Scratcher
1000+ posts

Screensavers for OS

I'll try it out.

I have a Steam account. If you have one too, feel free to add me to your friends list.
Also check out my YouTube channel if you like the outdoors, Minecraft, cars, roller coasters, etc.
doodle08
New to Scratch
2 posts

Screensavers for OS

Where do you find the mouse is moveing block and the repeat block

Powered by DjangoBB