0% found this document useful (0 votes)
156 views

t2 I 85 Catch The Bugs Scratch Worksheet - Ver - 4

This document provides challenges and guidance for a Scratch coding project involving moving sprites. The challenges include making bugs move up and down, making a frog follow the mouse pointer, making bugs disappear when touched by the frog, and adding messages, sounds or scoring. Helpful hints are given for each challenge, such as using forever loops and touch sensing blocks. Sample solutions are also provided, such as adding sound effects when bugs are caught. The goal is to create a simple bug-catching game.

Uploaded by

Simran Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
156 views

t2 I 85 Catch The Bugs Scratch Worksheet - Ver - 4

This document provides challenges and guidance for a Scratch coding project involving moving sprites. The challenges include making bugs move up and down, making a frog follow the mouse pointer, making bugs disappear when touched by the frog, and adding messages, sounds or scoring. Helpful hints are given for each challenge, such as using forever loops and touch sensing blocks. Sample solutions are also provided, such as adding sound effects when bugs are caught. The goal is to create a simple bug-catching game.

Uploaded by

Simran Kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Creative Coding with Scratch

Catch the Bugs


Getting Started

Select Blue Sky backdrop.

Choose Frog, Beetle, Butterfly 1 and


Ladybug1 from the sprite library.

Reduce the size of each sprite and


change the direction or position of
each sprite as required.

Challenge 1
Can you make each of the bugs move up and down forever?

Challenge 2
Can you make the Frog follow the mouse-pointer?

Challenge 3
Can you make the bugs disappear when the Frog touches them?

Challenge 4
Can you add messages, sound effects or scoring to improve your game?

I can:

select a backdrop and a sprite;


program more than one sprite;
make a sprite follow a mouse-pointer;
make one sprite sense and interact with another sprite;
create a simple game.

Page 1 of 2 visit twinkl.com


Helpful Hints
Catch the Bugs
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 make a sprite travel forever in a vertical direction:

when space key pressed point in direction 0 forever

if on edge, bounce

Top Tip
set rotation style don't rotate
Changing the number in the move
block will alter the speed at which
the sprite travels up and down.
move steps

To make a sprite follow a mouse-pointer:

forever go to mouse-pointer

when space key pressed

To make a sprite disappear when it touches another sprite:

if touching Frog ? then

hide

Page 2 of 2 visit twinkl.com


Creative Coding with Scratch
Catch the Bugs 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 3

The following code belongs on the The following code belongs on the
Butterfly 1, Beetle and Ladybug1: Butterfly 1, Beetle and Ladybug1:

when space key pressed

set rotation style don't rotate when space key pressed

point in direction 0 show

forever
set rotation style don't rotate

move 10 steps point in direction 0

if on edge, bounce forever

move 10 steps

Challenge 2
if on edge, bounce

The following code belongs on the Frog:


if touching Frog ? then

when space key pressed hide

forever

go to mouse-pointer

Page 1 of 2 visit twinkl.com


Creative Coding with Scratch Catch the Bugs Answers

Challenge 4
The following code belongs on the The following code belongs on the
Butterfly 1, Beetle and Ladybug1: Butterfly 1, Beetle and Ladybug1:

when space key pressed

when space key pressed


show

set score to 0
set rotation style don't rotate
show
point in direction 0

set rotation style don't rotate


forever

point in direction 0
move 10 steps
forever
if on edge, bounce

move 10 steps
if touching Frog ? then

if on edge, bounce
play sound Pop until done
if touching Frog ? then
hide

play sound Pop until done

hide

It adds a sound effect when a bug is


change score by 1
caught by the Frog.

The following code belongs on the Frog:

when space key pressed It can be used to create a scoring system.

forever

go to mouse-pointer

if touching Butterfly 1 ? then

say Yummy for 0.5 seconds


It sends a message when the Frog catches the
Butterfly 1.

Page 2 of 2 visit twinkl.com

You might also like