Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » pen color to effect
- cs4711673
-
Scratcher
6 posts
pen color to effect
I need to convert a set pen color to _ value to brightness and color effects. I'm pretty sure you can make every color because you can set the brightness negative to darken it.
The color value loops between 0 and 200
The brightness value goes between -100 and 100
I made a graph of all of the color values if that helps: https://www.desmos.com/calculator/tpqv1xouam
The color value loops between 0 and 200
The brightness value goes between -100 and 100
I made a graph of all of the color values if that helps: https://www.desmos.com/calculator/tpqv1xouam
Last edited by cs4711673 (Feb. 25, 2025 16:10:58)
- cs4711673
-
Scratcher
6 posts
pen color to effect
this
set pen color to []to these two
set [color v] effect to (0)
set [brightness v] effect to (0)
- NotK3ndricAltAgain
-
Scratcher
500+ posts
pen color to effect
when green flag clickedYou could also do this:
set pen color to (50)
set [pen colour v] to [50]
set [colour or brightness v] effect to (pen colour)
define set pen colour to (num)Hope this helps!
set pen color to (num)
set [pen colour v] to (num)
define change pen colour by (num)
change pen color by (num)
change [pen colour v] by (num)

- brintcha06
-
Scratcher
34 posts
pen color to effect
idea is…
when this sprite clicked
change [ v] effect by (20[scratchblocks]
)[/scratchblocks]
play sound [ popv] until done
- cs4711673
-
Scratcher
6 posts
pen color to effect
when green flag clickedYou could also do this:
set pen color to (50)
set [pen colour v] to [50]
set [colour or brightness v] effect to (pen colour)define set pen colour to (num)Hope this helps!
set pen color to (num)
set [pen colour v] to (num)
define change pen colour by (num)
change pen color by (num)
change [pen colour v] by (num)
what is the formula to get the pen color to color and brightness
- NotK3ndricAltAgain
-
Scratcher
500+ posts
pen color to effect
heres my totaly supr dupr deetaald explenation!!!1!-snip-
Hope this helps!
what is the formula to get the pen color to color and brightness

- Discussion Forums
- » Help with Scripts
-
» pen color to effect