Monday 5 November 2012

Scratch Tutorial

Tutorial 6-

Surprise button:

What does this effect do? 
This effect makes the drum change colour and also play for a set amount of time.

What do each of the codes represent?
The When Drum () Clicked (block) is a Control Block and a Hat Block that will activate once its sprite is clicked.

The Change () Effect by () block is a Looks Block and a Stack block which changes the colour of the sprite by the specified amount (25) or (-25)
 
The Play Drum () for () Beats (block) will play the specifed instrument for the amount of seconds (0.2).

The Pick Random () to () (block) is an Operators block and Reporter block which picks a psuedorandom number ranging from the first number to the second, including endpoints.

No comments:

Post a Comment