0% found this document useful (0 votes)
13 views2 pages

Scratch Sample

This lesson teaches how to modify a simple program by changing numerical values to alter the sprite's drawing behavior. Key changes include setting initial values for pen size and position, as well as modifying commands within a loop to create colorful shapes. Students are encouraged to experiment with different values and loops to observe the effects on the program's output.

Uploaded by

Ali Papila
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
13 views2 pages

Scratch Sample

This lesson teaches how to modify a simple program by changing numerical values to alter the sprite's drawing behavior. Key changes include setting initial values for pen size and position, as well as modifying commands within a loop to create colorful shapes. Students are encouraged to experiment with different values and loops to observe the effects on the program's output.

Uploaded by

Ali Papila
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
Making changes In this lesson You will learn: ‘> how to change the program by changing number values. Set the program start values In the last lesson youmade a simple program. The sprite drew with apen. Now you will make changes to the ‘program. Load the progrom from where you saved it. First, you will set values at the start of the program. Find these blocks and add them to the program: «© ‘erase alt’: Erase means rub out This block will ub out any old drawings on the screen. © ‘Set pen size to 5':This block will make the pen line wider Now add a movement block: © 'g0 to position 0 0':This will move the sprite to the middle of the screen. Here is the program showing these changes. Run the program to see what it does. Commands inside the loop ‘Now you will change the commands inside the loop so that the bug draws a different and more colourful shape. This block will change the colour of the pen. Tr) Put the ‘change pen color’block inside the forever'loop. The pen colour will change forever. You will see @ rainbow line. There are two Motion’ blocks inside the forever loop. Change the values inside the block. © Change the number of steps to 100. © Change the number of degreesto 150. This the completed program. fun the program to see what shape the sprite draws. ‘Make the program shown in this lesson. Run and save the program. z = ‘Write down all the blocks you have used that have 57 numbers you can change. Say what each block does. Eton ‘Make changes tothe program you made: ‘© Replace the forever’ loop with the loop that says repeat 10: © Change the numbers in all the blocks and see what happens.

You might also like