1 of 14

Making Animations

with Loops in Scratch

2 of 14

3 of 14

4 of 14

Getting Started

Use this starter file: https://scratch.mit.edu/projects/460086257/

5 of 14

Animation 1

Click on Animation 1 in the Sprites Gallery

Notice the blocks provided.

Put them in this order and then click the Green Flag.

6 of 14

Animation 1

What do you notice? Is the animation moving too slow? Too fast?

The computer is running the program in “computer speed”. To make it look more natural, we need to control how fast it moves through the loop.

Go to the Control blocks and find the wait 1 seconds block and add it to the code under the next costume block.

7 of 14

Animation 1

Does that help? Or is she now moving too slow? Change how long the computer waits. To go faster you will need to use decimal numbers. You just use the period to make a decimal number. Try each of the examples below. Which one looks the best to you?

8 of 14

How does this happen?

If you click on the Costumes tab for Animation 1, you will see that she has four costumes provided.

Each one is a bit different.

When you use the next costume block and put it in a loop it moves costume to costume giving the impression of movement!

9 of 14

Let’s try another….

...click on Animation 2

10 of 14

Animation 2

Can you code the baseball player to animate?

Build the code for this sprite.

Challenge: How did we change the speed of the animation? Can you make the baseball player swing at a different speed?

11 of 14

Now it’s your turn!

Let’s add a third Sprite that we can animate. Move your cursor to the New Sprite icon and click Choose a Sprite.

12 of 14

Now it’s your turn!

Let’s add a third Sprite that we can animate. Move your cursor to the New Sprite icon and click Choose a Sprite.

Notice that as you move around and hover over each sprite it might move. This is a great trick to let you know that there are multiple costumes available for animation. Choose one and place it in an empty spot on the stage.

13 of 14

Animation 3

Can you code the Sprite you just chose to animate?

Build the code for this sprite using the correct blocks found in these categories:

HINT: If you need a bit of help, look back at the code on Animation 1 or 2!!

14 of 14

Time for one more -- Animation 4!!

Step 1

Step 2

Step 3