Discuss Scratch

Colecmac128
Scratcher
44 posts

RGB code for sprite colours

Is it possible to make a RGB code for sprite colours, using the
set [ colour v] effect to (0)
?

Last edited by Colecmac128 (April 23, 2016 16:28:40)

footsocktoe
Scratcher
1000+ posts

RGB code for sprite colours

Colecmac128 wrote:

Is it possible to make a RGB code for sprite colours, using the
set [ colour v] effect to (0)
?

No, because the set color effect block does not set a color, it changes the existing color by a percentage, so it's affect on each color is different.
jokebookservice1
Scratcher
1000+ posts

RGB code for sprite colours

footsocktoe wrote:

Colecmac128 wrote:

Is it possible to make a RGB code for sprite colours, using the
set [ colour v] effect to (0)
?

No, because the set color effect block does not set a color, it changes the existing color by a percentage, so it's affect on each color is different.
But if you make your original sprite completely red, you might be able to do some stuff. Just make it all the same colour.
Colecmac128
Scratcher
44 posts

RGB code for sprite colours

What would I have to do? And why red?
jokebookservice1
Scratcher
1000+ posts

RGB code for sprite colours

Colecmac128 wrote:

What would I have to do? And why red?
I think any colour would d, but red is quite low down, so you can access lots of colours darker than red. I don't think you can do RGB completely, because Scratch maintains the same brightness. But that can be altered with the brightness effect.

Now then, color effect = 200 is the same as color effect = 0. color effect = 100 is the same as the complementary colour of it. You can't get an RGB code (well you can, but you would need to work out exactly what colour effect is) but you can work out what each colour is via trial and error.

Presumably there is a pattern, but I cannot figure it out. Might try again tomorrow.
Colecmac128
Scratcher
44 posts

RGB code for sprite colours

Thanks! I'll check it out, so don't unfollow this discussion. If I figure it out, I'll post the answer.
scubajerry
Scratcher
1000+ posts

RGB code for sprite colours

You use color and shade instead of RGB. The below project shows the possibilities. RUN IN TURBO MODE

https://scratch.mit.edu/projects/11677557/
deck26
Scratcher
1000+ posts

RGB code for sprite colours

scubajerry wrote:

You use color and shade instead of RGB. The below project shows the possibilities. RUN IN TURBO MODE

https://scratch.mit.edu/projects/11677557/
That's for the pen rather than the sprite surely?
scubajerry
Scratcher
1000+ posts

RGB code for sprite colours

Ooops - I did not see SPRITE in the question.
Colecmac128
Scratcher
44 posts

RGB code for sprite colours

Yeah, it seems difficult. Please respond if you figure it out.
jokebookservice1
Scratcher
1000+ posts

RGB code for sprite colours

Colecmac128 wrote:

Yeah, it seems difficult. Please respond if you figure it out.
Ok, I have a plan to get most of the colours, place it all in one sprite, duplicate, change colour effect, compare. And see how much shift occurred. It may have to be tomorrow though, got homework and it is already 11 PM for me.
Colecmac128
Scratcher
44 posts

RGB code for sprite colours

Sounds great, thanks!
whatwhyww
Scratcher
1 post

RGB code for sprite colours

Guys I think I found the solution.

You just click on costumes and then edit your sprite looks. :lol:




P.S: explore my games
i'll be making some soon!

Last edited by whatwhyww (Oct. 22, 2018 18:17:23)

-Clickertale_2-
Scratcher
100+ posts

RGB code for sprite colours

If you set the colour to 0 (If your sprite is red for an example) then it will stay red but if you set it to 100 it will become the opposite colour of the original sprite (Light blue). I hope this helps!

Powered by DjangoBB