PPJB wrote:
What does the Color block? And what effect corresponds to what number? Because I want to make a sprite that changes its color depending the team of the sprite, but I only want to make an only sprite.
Missing a few words here, so I may not be answering your question. I thinking you are asking how to change a sprite's colour depending on the team it is on. There is a few ways to do that, but I would use a variable for the team. An example script is below.
when gf clicked set [team v] to (1)when gf clicked forever if <(team) = (1)> set [color v] effect to (0) end if <(team) = (2)> set [color v] effect to (50) endwhen I receive [Change Team 1 v] set [team v] to (1)when I receive [Change Team 2 v] set [team v] to (2)
What this will do is change the sprite's colour depending on if it is on team 1 or 2. Please note, I have not defined is what conditions are needed to change the sprite's team. To learn more about colours and other related information would recommend looking at the Scratch Wiki. Here is a direct link to the article about colour.
http://wiki.scratch.mit.edu/wiki/Color_Effect#Color
Offline
Thanks, I was trying out this block. But I cant't yet understand how this block works. For example, I put two Scratch Cat sprites and I repainted one of these all white. I applied the color block, and the white sprite doesn't changed too much, why occour this?
Offline
PPJB wrote:
Thanks, I was trying out this block. But I cant't yet understand how this block works. For example, I put two Scratch Cat sprites and I repainted one of these all white. I applied the color block, and the white sprite doesn't changed too much, why occour this?
The colour effect block depends on the colours of the sprite, for example- a completely black sprite doesn't change at all, but a purple sprite will change quite a lot.
Offline