As an interesting thing to try, I decided I wanted to change the colour of one of the block classes. It didn't work.
Here's what I did:
Scratch-blocks > VariableBlockMorph > Initialization > Initialize↓
initialize
Super initialize.
commandSpec <- ' '.
self color: (Color
r: 0.0
g: 1.0
b: 1.5)
I basically changed the RGB values, saved for end user, but the colour of the blocks did not change.
What did I do wrong? and could someone please tell me what those RGB values normally are? I forgot to note that down before I made the change.
Many thanks, Sparks
Offline
Go to
Scratch-Objects >> ScriptableScracthMorph >> click class >> blockSpecs >> blockColorFor:
then you can change the hue, saturation, and value of any type of blocks. Changing control has a weird effect though.
Also
r: 0.4
g: 1.0
b: 0.4)
Last edited by climber59 (2010-03-21 17:13:06)
Offline