Discuss Scratch

Lionwarriorspets
Scratcher
1000+ posts

A "Greyscale" Effect

So It Would Be Like This
when green flag clicked
change [ Greyscale] effect by (Any Number)
Heres How It Looks]

Last edited by Lionwarriorspets (Aug. 15, 2022 21:10:41)

musicROCKS013
Scratcher
1000+ posts

A "Greyscale" Effect

You can already (sort of) do this by making a clone and toggling its ghost effect after making it grayscale. Here's the code for that:

create clone of [myself v]

when I start as a clone
set [color v] effect to ((1) / (0))
forever
switch costume to ([costume name v] of [sprite v])
set [ v] effect to (0)
set [ghost v] effect to ((100) - (grayscale effect))
go to front
end

Then simply changing the grayscale variable will make it look different.

Last edited by musicROCKS013 (Aug. 15, 2022 23:02:32)

Lionwarriorspets
Scratcher
1000+ posts

A "Greyscale" Effect

musicROCKS013 wrote:

You can already (sort of) do this by making a clone and toggling its ghost effect after making it grayscale. Here's the code for that:

create clone of [myself v]

when I start as a clone
set [color v] effect to ((1) / (0))
forever
switch costume to ([costume name] of [sprite v])
set [ v] effect to (0)
set [ghost v] effect to ((100) - (grayscale effect))
go to front
end

Then simply changing the grayscale variable will make it look different.
What About Peeps That dont know how to do that.
musicROCKS013
Scratcher
1000+ posts

A "Greyscale" Effect

Lionwarriorspets wrote:

What About Peeps That dont know how to do that.
Then they can learn how to do it…

Nonetheless, just because someone makes a workaround doesn't mean they don't support. I think this would be a very helpful feature, especially if there were many sprites you want to enact this on. I try to make workarounds in case you need this code for a project or something, not to diminish the value of the suggestion. However, some workarounds are simple enough to discredit a suggestion entirely. This isn't one of them, and many could still benefit from this block.
-Valtren-
Scratcher
1000+ posts

A "Greyscale" Effect

support, but maybe in the editor? it's hard to find which are the greyscale versions of colours and this would help a lot.
maybe an invert colours as well
Lionwarriorspets
Scratcher
1000+ posts

A "Greyscale" Effect

-Valtren- wrote:

support, but maybe in the editor? it's hard to find which are the greyscale versions of colours and this would help a lot.
maybe an invert colours as well
Invert Button Would Look like this
Paddle2See
Scratch Team
1000+ posts

A "Greyscale" Effect

It looks like this is a duplicate topic of this one over here so I'll close it to keep the conversation all in one place.

Please use the existing topic in the link above.

Powered by DjangoBB