1 understand how to use scratch to: – animate a sprite – add sound to your script – use the...
TRANSCRIPT
1
• Understand how to use Scratch to:– Animate a sprite– Add sound to your script– Use the forever command to create a loop
Lesson 2: Learning Objectives
2
Start moving!
Drag a MOVE block into the Scripts area
3
Add a sound
Drag out the play drum and put it under the move block
4
Start a dance
Add another move block, change the number to -10
Add another drum block, change the number to pick a different drum beat
5
Again and again
Drag out a forever block and place it at the top of stack, they will wrap around the other blocks
6
Add the Green flag
Drag out a and put it on the top of the stack
7
Change colour
Drag out a Change effect block
Double click on the block to see what it does
8
Key press
Add a above the change effect block
9
Run the script to see if it works
• Click on the green flag to make the sprite dance
• Click on the space bar to make the sprite change colour
• Now using the skills you have learned this lesson and last lesson, choose a sprite and create a script of your own
10
Plenary
• Swap seats with a partner• Run their script• State one positive comment about their
project and think of one improvement• Share your comments with your partner
11
Extension Activity
• Adding another sprite• Adding speech
12
Adding another sprite
Click on to add sprite, select Jodi1 from the people folder
13
Add speech
Drag a say block onto the script area, click on the text and change it
14
Add animationBy switching between costumes you can make your sprite move
Click on the Costumes tab and import and open Jodi2
15
Add the script
Click on the Script tab and add these blocks
Drag on a and place it above the forever block, use the drop down to select a key to assign the animation too