Coding Book 3

Page 1

Coding Book 3 February 21

Animate a Character Create a Story


Contents 3 Scratch Interface Guide 4 Coding Blocks 5 Costumes Sounds 6 Sprite Pane 7 Animate a Character 9 Move with Arrow Keys 11 Make a Character Jump 13 Switch Poses 15 Glide from Point to Point 17 Walking Animation 19 Flying Animation 21 Talking Animation 23 Draw an Animation

23 25 27 29 31 33 35 37 39 41 43 45 46

The Big Picture

1

Draw an Animation Create a Story Start a Story Start a Conversation Switch Backdrops Click a Character Add Your Voice Glide to a Spot Walk onto the Stage Respond to a Character Add a Scene What do these programs do? Glossary and Index


Attitude Listen carefully to instructions

Look carefully at examples

Sherlock Show curiosity:

Give helpful help  Pointing and talking

Hmmm! I wonder what this does?

 Taking over and doing it

Memory

Learn from Mistakes

Work hard to remember these skills.

Mistakes are the proof you are trying.

Edgar Ferjennery

Miss Take 2


Scratch Interface Guide Explore each part of the screen to find out what each one does.

Code Blocks: Colour-coded that snap together to create a program. Costumes: Create a new sprite or redesign an existing one. Sounds: Add sounds to your program. Code Area: This is where you write your instructions. Drag the blocks onto the script area and join them together to create a set of instructions for your sprites and stage. Sprites Pane: This is where you organise your sprites. Sprites are either characters that move around the stage or a backdrop that decorates the stage. Stage: This is where the action happens! The sprites move around the backdrops following the program you have written using the blocks from the block palette to the code area. 3


Coding blocks: Drag these colour-coded blocks which link together like Lego bricks onto the Script area to make things happen. Look at page 5 for more information about the different types of blocks.

4


Costumes: Explore the tools to create new sprites or redesign existing ones.

Sounds: Explore the tools to add sounds to your program.

5


Sprite Pane

Choose a Sprite

Choose a Backdrop

Sprites: Any character or object. You can program them to move, make sounds, change appearance and much more.

Backdrop: You can paint the backdrop, choose a picture or add a photo.

Stage Sprite: You can add blocks to program the stage.

6


7


8


9


10


11


12


13


14


15


16


17


18


19


20


21


22


23


24


25


26


27


28


29


30


31


32


33


34


35


36


37


38


39


40


41


42


43


44


What do these programs do? Match the numbers with the letters. 1)

2)

3)

4)

5)

6)

A) Make a sprite spin on the spot when you click it. B) Move around the screen and bounce off the edges. C) Move up the screen when the up arrow key is pressed. D) Say, “Hello!” grow bigger and then say, “HELLO!” E) Press d to play the drums. Press q to make them quieter. Press l to make them louder. F) Move around the edges of a square.

45


Glossary

Index Animate a character, 7 Arrow keys, 10 Backdrop, 6, 10, 12, 16, 28, 34, 44 Broadcast, 42 Coding blocks. 4 Colour effect, 34 Costumes, 5,14,22, 24 Create a story, 25 Flying animation, 20 Glide, 38

Hide, 40 Interface guide, 3 Record sounds, 36 Size, 40 Sounds, 5, 34 Sprites, 6, 10, 12, 16, 28, 34, 36 Switch backdrop, 32 Talking animation, 22 Walking animation, 18

46


Can you write a program? Can you predict what a program will do? Can you debug a program? Can you create something unique? Do you have a positive attitude towards solving problems? Do you give helpful help? Do you learn from mistakes? Can you remember the skills you learnt last time?


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.