Discuss Scratch

ChrisSTP
New Scratcher
4 posts

Change the color of a Clone

Hi!

How can I change the color of a clone object to RGB black (I don't like to work with “the set color effect to xxx” which works modulo based).

kritav
Scratcher
100+ posts

Change the color of a Clone

Make two costumes for the original sprite. Recolor the second one the color you want. Then run this: |When I start as a clone| {switch costume to costume two}



Scratch blocks aren't working for me.
RokCoder
Scratcher
1000+ posts

Change the color of a Clone

ChrisSTP wrote:

How can I change the color of a clone object to RGB black (I don't like to work with “the set color effect to xxx” which works modulo based).

setbrightnesseffectto-100

(Unless that's what you meant by “the set color effect to xxx”).
ChrisSTP
New Scratcher
4 posts

Change the color of a Clone

Thanks kritav! Your solution does the correct thing. Thank you!
However the idea which I have in mind doesn't work so out.
I make a clone from a figure which is a red square than I create clones. The read square which moves around release clones of them and in the case there is a collision between the original red square and a blue clone a certain action should start. Thus I use a if statement with the condition "colore red is touching blue? then do the action.
But in my case the if condition works immediately.
StrangeMagic32
Scratcher
1000+ posts

Change the color of a Clone

Could you share the link?
ChrisSTP
New Scratcher
4 posts

Change the color of a Clone

kritav
Scratcher
100+ posts

Change the color of a Clone

Use the |wait 1 second block|. It waits one second, then the blue is “bad”.
ChrisSTP
New Scratcher
4 posts

Change the color of a Clone

Yeah this is it!
Thank all of you!
DudeMan____
Scratcher
1 post

Change the color of a Clone

This was very helpful for my game! thanks you so much!
kiwilover2736
Scratcher
1000+ posts

Change the color of a Clone

DudeMan____ wrote:

This was very helpful for my game! thanks you so much!
Hello and welcome to the forums.

Please don't necropost. Necroposting is when you make a new post on a topic that hasn't been active for over around a month.

Powered by DjangoBB