Page 1
Stress ball
What will you make
Use Scratch to create a stress ball app that you can click to squash!
You will:
? Turn a ball sprite into stress ball by adding details to
Paint editor
? Add Looks and Sound code blocks to squash your
stress ball when you click on it
? Add a backdrop to the Stage to make your app
more colourful
1. Draw a face
1
How will you open the project
? Online: Open the starter project here -
rpf.io/pp-scr-sb-1. Scratch will open in another
browser tab.
? Offline: Download the Stress ball starter project
here - rpf.io/p/en/stress-ball-go and open it using
the offline editor.
In Scratch, characters and objects
are called sprites, and they
appear on the Stage.
Step 1:
Click on the dustbin icon to delete the existing cat
sprite.
Step 2:
Go to the Sprite pane to add a sprite.
Introduction
Page 2
Stress ball
What will you make
Use Scratch to create a stress ball app that you can click to squash!
You will:
? Turn a ball sprite into stress ball by adding details to
Paint editor
? Add Looks and Sound code blocks to squash your
stress ball when you click on it
? Add a backdrop to the Stage to make your app
more colourful
1. Draw a face
1
How will you open the project
? Online: Open the starter project here -
rpf.io/pp-scr-sb-1. Scratch will open in another
browser tab.
? Offline: Download the Stress ball starter project
here - rpf.io/p/en/stress-ball-go and open it using
the offline editor.
In Scratch, characters and objects
are called sprites, and they
appear on the Stage.
Step 1:
Click on the dustbin icon to delete the existing cat
sprite.
Step 2:
Go to the Sprite pane to add a sprite.
Introduction
Step 3:
Select the Ball sprite from the sprite library.
Step 4:
Click on the Costumes tab. The Paint Editor will open.
Select any ball of your choice.
The Ball sprite on the Stage will switch to the costume
that you have chosen.
Step 5:
Click on the Fill colour chooser and drag the
Brightness to 0 to change the Fill colour to black.
Step 6:
Click on the Circle tool.
If you are using a mouse or trackpad, hold down the
left button and drag until the circle is the size and
shape that you want, then release the button.
Step 7:
Draw two eyes.
If you make a mistake, you can click on the Undo
arrow.
2
In Scratch, the picture used for a
sprite is called a costume.
In this step, you will add a face to
the Ball sprite to make it more
interesting.
Page 3
Stress ball
What will you make
Use Scratch to create a stress ball app that you can click to squash!
You will:
? Turn a ball sprite into stress ball by adding details to
Paint editor
? Add Looks and Sound code blocks to squash your
stress ball when you click on it
? Add a backdrop to the Stage to make your app
more colourful
1. Draw a face
1
How will you open the project
? Online: Open the starter project here -
rpf.io/pp-scr-sb-1. Scratch will open in another
browser tab.
? Offline: Download the Stress ball starter project
here - rpf.io/p/en/stress-ball-go and open it using
the offline editor.
In Scratch, characters and objects
are called sprites, and they
appear on the Stage.
Step 1:
Click on the dustbin icon to delete the existing cat
sprite.
Step 2:
Go to the Sprite pane to add a sprite.
Introduction
Step 3:
Select the Ball sprite from the sprite library.
Step 4:
Click on the Costumes tab. The Paint Editor will open.
Select any ball of your choice.
The Ball sprite on the Stage will switch to the costume
that you have chosen.
Step 5:
Click on the Fill colour chooser and drag the
Brightness to 0 to change the Fill colour to black.
Step 6:
Click on the Circle tool.
If you are using a mouse or trackpad, hold down the
left button and drag until the circle is the size and
shape that you want, then release the button.
Step 7:
Draw two eyes.
If you make a mistake, you can click on the Undo
arrow.
2
In Scratch, the picture used for a
sprite is called a costume.
In this step, you will add a face to
the Ball sprite to make it more
interesting.
If you are signed in to your Scratch account, type the
title of your project into the project title box at the top
of the screen.
Tip: Give your projects helpful names so that you can
easily ?nd them when you have lots of projects.
Step 1:
Next, click on File, and then on Save now to save your
project.
Step 2:
If you are not online or you do not have a Scratch
account, you can click on Save to your computer to
save a copy of your project.
2. Squash it
? Click on the Code tab.
? Now, you are in the Code area.
Now, you can add code to make
the stress ball look like it is being
squashed when you click or tap
on it.
3
Step 8:
Use the Circle tool to draw a mouth.
Tip: To move the features that you have drawn, click
on the Select (arrow) tool, then click on the features
and drag them into position.
Page 4
Stress ball
What will you make
Use Scratch to create a stress ball app that you can click to squash!
You will:
? Turn a ball sprite into stress ball by adding details to
Paint editor
? Add Looks and Sound code blocks to squash your
stress ball when you click on it
? Add a backdrop to the Stage to make your app
more colourful
1. Draw a face
1
How will you open the project
? Online: Open the starter project here -
rpf.io/pp-scr-sb-1. Scratch will open in another
browser tab.
? Offline: Download the Stress ball starter project
here - rpf.io/p/en/stress-ball-go and open it using
the offline editor.
In Scratch, characters and objects
are called sprites, and they
appear on the Stage.
Step 1:
Click on the dustbin icon to delete the existing cat
sprite.
Step 2:
Go to the Sprite pane to add a sprite.
Introduction
Step 3:
Select the Ball sprite from the sprite library.
Step 4:
Click on the Costumes tab. The Paint Editor will open.
Select any ball of your choice.
The Ball sprite on the Stage will switch to the costume
that you have chosen.
Step 5:
Click on the Fill colour chooser and drag the
Brightness to 0 to change the Fill colour to black.
Step 6:
Click on the Circle tool.
If you are using a mouse or trackpad, hold down the
left button and drag until the circle is the size and
shape that you want, then release the button.
Step 7:
Draw two eyes.
If you make a mistake, you can click on the Undo
arrow.
2
In Scratch, the picture used for a
sprite is called a costume.
In this step, you will add a face to
the Ball sprite to make it more
interesting.
If you are signed in to your Scratch account, type the
title of your project into the project title box at the top
of the screen.
Tip: Give your projects helpful names so that you can
easily ?nd them when you have lots of projects.
Step 1:
Next, click on File, and then on Save now to save your
project.
Step 2:
If you are not online or you do not have a Scratch
account, you can click on Save to your computer to
save a copy of your project.
2. Squash it
? Click on the Code tab.
? Now, you are in the Code area.
Now, you can add code to make
the stress ball look like it is being
squashed when you click or tap
on it.
3
Step 8:
Use the Circle tool to draw a mouth.
Tip: To move the features that you have drawn, click
on the Select (arrow) tool, then click on the features
and drag them into position.
Step 4:
From the Looks blocks menu, drag a set color
effect to block underneath the when this
sprite clicked block and make sure that they
connect together:
Notice that the colour of each block tells you where
you can ?nd it.
Step 5:
Click on color and change it to whirl.
Step 6:
Change the value from 0 to 100:
This will create lots of whirl!
Step 7:
Add a play sound Pop until done block:
Step 8:
Click on Pop and change it to Boing:
4
Step 3:
From the Events blocks menu, drag a when this
sprite clicked block into the Code area on the
right-hand side:
Page 5
Stress ball
What will you make
Use Scratch to create a stress ball app that you can click to squash!
You will:
? Turn a ball sprite into stress ball by adding details to
Paint editor
? Add Looks and Sound code blocks to squash your
stress ball when you click on it
? Add a backdrop to the Stage to make your app
more colourful
1. Draw a face
1
How will you open the project
? Online: Open the starter project here -
rpf.io/pp-scr-sb-1. Scratch will open in another
browser tab.
? Offline: Download the Stress ball starter project
here - rpf.io/p/en/stress-ball-go and open it using
the offline editor.
In Scratch, characters and objects
are called sprites, and they
appear on the Stage.
Step 1:
Click on the dustbin icon to delete the existing cat
sprite.
Step 2:
Go to the Sprite pane to add a sprite.
Introduction
Step 3:
Select the Ball sprite from the sprite library.
Step 4:
Click on the Costumes tab. The Paint Editor will open.
Select any ball of your choice.
The Ball sprite on the Stage will switch to the costume
that you have chosen.
Step 5:
Click on the Fill colour chooser and drag the
Brightness to 0 to change the Fill colour to black.
Step 6:
Click on the Circle tool.
If you are using a mouse or trackpad, hold down the
left button and drag until the circle is the size and
shape that you want, then release the button.
Step 7:
Draw two eyes.
If you make a mistake, you can click on the Undo
arrow.
2
In Scratch, the picture used for a
sprite is called a costume.
In this step, you will add a face to
the Ball sprite to make it more
interesting.
If you are signed in to your Scratch account, type the
title of your project into the project title box at the top
of the screen.
Tip: Give your projects helpful names so that you can
easily ?nd them when you have lots of projects.
Step 1:
Next, click on File, and then on Save now to save your
project.
Step 2:
If you are not online or you do not have a Scratch
account, you can click on Save to your computer to
save a copy of your project.
2. Squash it
? Click on the Code tab.
? Now, you are in the Code area.
Now, you can add code to make
the stress ball look like it is being
squashed when you click or tap
on it.
3
Step 8:
Use the Circle tool to draw a mouth.
Tip: To move the features that you have drawn, click
on the Select (arrow) tool, then click on the features
and drag them into position.
Step 4:
From the Looks blocks menu, drag a set color
effect to block underneath the when this
sprite clicked block and make sure that they
connect together:
Notice that the colour of each block tells you where
you can ?nd it.
Step 5:
Click on color and change it to whirl.
Step 6:
Change the value from 0 to 100:
This will create lots of whirl!
Step 7:
Add a play sound Pop until done block:
Step 8:
Click on Pop and change it to Boing:
4
Step 3:
From the Events blocks menu, drag a when this
sprite clicked block into the Code area on the
right-hand side:
Step 1:
Drag a change size by block under your when
this sprite clicked block. A space will open up
for the block and it will ?t into place.
Your code should look like this:
Now, you will make the Ball sprite shrink as well as squash when you click on it.
5
Step 9:
Now, add a clear graphic effects block to the
bottom of your code so that the ball always returns to
its original state after it has been squashed:
Step 10: Click on Looks, then click on the clear
graphic effects block in the Blocks menu to
remove the whirl effect.
The code will look like this.
Click on your sprite to try it out. Try it again. Then, try it
again!
Laughing and being artistic are good ways to get rid of stress.
3. Shrink it
Read More