How could I say, click on a sprite (a square) of a certain colour and then click on a different sprite so that it changes colour to the same of the square?
What code would I need, (if it's possible?)
Offline
{colour square green}
when greensquare clicked set colourno to 2 {2 represents green}
{spritesquare change its colours!}
when spritesquare pressed
if colourno=1
switch to costume red
if colourno=2
switch to costume green
and so on
Offline
Take a look at how I did the color changes for pegs in my MasterMind game:
http://scratch.mit.edu/projects/kevin_karplus/12236
Offline
Thanks guys! I'm going to try it now
Offline
Thanks it works!!!
Offline