You are on page 1of 5

Creative Coding with Scratch

Bouncing Animals
Getting Started

Select Blue Sky backdrop.

Choose Trampoline and Hippo1 from


the sprite library.

Position the Trampoline on the


ground in the middle of the Stage.
Position Hippo1 on top of the
Trampoline.

Challenge 1
Can you make Hippo1 jump up and down on the Trampoline 10 times?

Challenge 2
Can you add a sound effect when Hippo1 lands on the Trampoline?

Challenge 3
Can you use costumes changes to make Hippo1 look different?

Challenge 4
Can you make Hippo1 bounce faster on the Trampoline?

I can:

make a sprite move up and down;


repeat an action a specified number of times;
add a sound effect;
change a sprite’s costume;
change the speed at which a sprite moves.

Page 1 of 3 visit twinkl.com


Helpful Hints
Bouncing Animals
Use these hints to help you complete the challenges. They will not give you the
complete solution to the algorithm but should help you on your way.

The following code belongs on the Hippo1 sprite:

To make a sprite move up and down a specified number of times:

when clicked
Top Tip
repeat 10
Scratch uses coordinates.
The y coordinate make
sprites move up and
change y by -100 down. Positive numbers
move a sprite upwards
wait 0.5 seconds change y by 100 on the Stage. Negative
numbers move a sprite
downwards the Stage.
wait 0.5 seconds

To add a sound effect:

Top Tip
Change the sound in the block by
clicking on the Sounds tab at the top
start sound Bing Boing of the Block Palette.
Use the Choose a Sound button in the
bottom-left corner to visit the sounds
library and choose a new sound.

Page 2 of 3 visit twinkl.com


Helpful Hints
Bouncing Animals
Use these hints to help you complete the challenges. They will not give you the
complete solution to the algorithm but should help you on your way.

To use costume changes to change the appearance of a sprite:

switch costume to hippo1-a switch costume to hippo1-b

To change the speed at which a sprite moves up and down:

change y by -100 Top Tip


Changing the wait time between
wait 0.2 seconds moving up and down will make
the sprite move more quickly or
more slowly. Try making the wait
change y by 100 time a smaller number to make
the sprite bounce more quickly.
wait 0.2 seconds

Page 3 of 3 visit twinkl.com


Creative Coding with Scratch
Bouncing Animals - Answers
Each Creative Coding Challenge is an open-ended task, which can be approached in
many different ways. Pupils should be encouraged to have a go and tackle these tasks
independently. The helpful hints are not intended to provide complete solutions but may
serve as useful cues for supporting less-confident coders.

The following algorithms are just one possible solution to each challenge.

Challenge 1 Challenge 2
The following code belongs on Hippo1. The following code belongs on Hippo1.

when clicked
when clicked

repeat 10
repeat 10

change y by 100
change y by 100

wait 0.5 seconds


wait 0.5 seconds

change y by -100
change y by -100

start sound Big Boing


wait 0.5 seconds

wait 0.5 seconds

Page 1 of 2 visit twinkl.com


Creative Coding with Scratch Bouncing Animals - Answers

Challenge 3 Challenge 4
The following code belongs on Hippo1. The following code belongs on Hippo1.

when clicked when clicked

repeat 10 repeat 10

switch costume to hippo1-a switch costume to hippo1-a

change y by 100 change y by 100

wait 0.5 seconds wait 0.2 seconds

change y by -100 change y by -100

switch costume to hippo1-b switch costume to hippo1-b

start sound Big Boing start sound Big Boing

wait 0.5 seconds wait 0.2 seconds

To make the sprite move up


and down more quickly make
the wait time shorter.

Page 2 of 2 visit twinkl.com

You might also like