how_to_use_scratch
TRANSCRIPT
Building A Background
• The best way to build your background is to reduce the size of the stage
To reduce the size of
your stage
Choose Edit…
Small stage layout
You can choose from a
library of backgrounds
Or you can draw your
own
Experiment with making your
own background
How To Get Rid Of The Cat Sprite
• To remove the cat sprite • Right click on the sprite and choose delete
• You can then choose your own sprite• From the library
• Draw your own
• Choose from saved sprites
Now add your own Sprite
You Can Shrink Or Grow Your Sprite
• Click on the shrink or grow tool
• Then click on your sprite
Now you try
Now Let’s Make Your Sprite Walk Across The Stage – FOREVER!
1. Select Scripts and then Events
2. Drag
To this section
3. Select Motion and then drag Move 10 steps until it slots at the bottom of the when clicked
This only moves the bat a little bit
4. Select the forever script from the control section and slot the blocks together as shown below
Walk that sprite
But What Is That Sprite Doing Now!
• We want the sprite to come back once it hits the side of the stage
• Try adding – if on edge, bounce – from the motion list
• If you find that your sprite turns upside down, click on the . Then, click the double-sided arrow.
Make your sprite bounce
Bat1
Now I Want My Bat To Fly – Flapping Its Wings
• In my costumes tab I already have a second sprite• If you don’t import another matching sprite from
New costume:
• I can now add, from the looks list –next costume
• I can link it to my previous code
But Wait… He’s Flapping Too Fast!
• From the control scripts choose –wait 1 sec
• If he is still flapping too fast you can change the 1 sec to 1.2 secs
• If he is flapping too slowly you can change the 1 sec to 0.2 secs
You have a go
Now I Am Going To Add A Balloon That I Control With My Arrow Keys
• Import the balloon • Add an event script –when up arrow key pressed
• Add a - Point in direction (UP)
• Add move 10 steps
You Can Now Duplicate Your Blocks For Up, Down, Left, Right Etc.
• Right click the When block and duplicate
• Check your sprite is moving in the right direction
You will need a set the rotation style too
Now Lets Get Our Bat Talking…
• Go to the scripts tab
• Double click on the bat to show the bat’s scripts
• Add an event –when space key pressed
• Link in a – say for 2 secs• Type, “You’re a strange bat”
• Now when you run your script and you move your balloon up towards the bat, click your space bar for the bat to say…• You’re a strange bat!
Now have some fun with scratch