CBSE Class 6  >  Class 6 Notes  >  Build Your Own Games with Scratch & Roblox  >  Project 20: Serene Scene

Project 20: Serene Scene

Download, print and study this document offline
Please wait while the PDF view is loading
 Page 1


Introduction
What will you make
You will develop a serene (meaning peaceful) scene of a wood, which you can look at, listen to, and relax 
with.
Serene scene
You will learn to use- 
? How to create variables
? How to use sliders to change the value of 
variables
? How to use forever loops to check variable 
values
1. Grow a tree
You should see a forest scene with a tree, ?owers, 
and a grasshopper. 
1
How will you open the project
? Online: Open the 
https://rpf.io/serene-scene-on in Scratch.
? Offline: Open the 
https://rpf.io/p/en/serene-scene-go in the 
Scratch offline editor. If you need to, you can 
https://scratch.mit.edu/download .
Step 2:
Create a new variable in Scratch, click on the Variables 
blocks menu.
Step 1:
First, you will make the tree change its size.
Page 2


Introduction
What will you make
You will develop a serene (meaning peaceful) scene of a wood, which you can look at, listen to, and relax 
with.
Serene scene
You will learn to use- 
? How to create variables
? How to use sliders to change the value of 
variables
? How to use forever loops to check variable 
values
1. Grow a tree
You should see a forest scene with a tree, ?owers, 
and a grasshopper. 
1
How will you open the project
? Online: Open the 
https://rpf.io/serene-scene-on in Scratch.
? Offline: Open the 
https://rpf.io/p/en/serene-scene-go in the 
Scratch offline editor. If you need to, you can 
https://scratch.mit.edu/download .
Step 2:
Create a new variable in Scratch, click on the Variables 
blocks menu.
Step 1:
First, you will make the tree change its size.
Step 3:
Then, click the Make a Variable button.
Step 4: 
You can give your variable a name. Call this 
variable tree.
Step 5:
You should now see ?ve new blocks that you can use.
You will also see that the tree block has a check 
mark next to it. This makes the variable visible on the 
Stage.
Step 6:
On the Stage, right-click on the tree variable, and a 
menu will appear.
Step 8:
Now, you will use the value of the tree variable to 
change the size of the tree.
Step 7:
Select slider in the menu.
Move the slider forwards and backwards, and you will 
see that the value of the tree variable changes 
between 0 and 100 (percent).
Step 9:
First, use a when green flag clicked block 
with a forever loop. Add a set size to block 
into the loop.
2
A variable is a way of storing numbers 
and/or text.
Page 3


Introduction
What will you make
You will develop a serene (meaning peaceful) scene of a wood, which you can look at, listen to, and relax 
with.
Serene scene
You will learn to use- 
? How to create variables
? How to use sliders to change the value of 
variables
? How to use forever loops to check variable 
values
1. Grow a tree
You should see a forest scene with a tree, ?owers, 
and a grasshopper. 
1
How will you open the project
? Online: Open the 
https://rpf.io/serene-scene-on in Scratch.
? Offline: Open the 
https://rpf.io/p/en/serene-scene-go in the 
Scratch offline editor. If you need to, you can 
https://scratch.mit.edu/download .
Step 2:
Create a new variable in Scratch, click on the Variables 
blocks menu.
Step 1:
First, you will make the tree change its size.
Step 3:
Then, click the Make a Variable button.
Step 4: 
You can give your variable a name. Call this 
variable tree.
Step 5:
You should now see ?ve new blocks that you can use.
You will also see that the tree block has a check 
mark next to it. This makes the variable visible on the 
Stage.
Step 6:
On the Stage, right-click on the tree variable, and a 
menu will appear.
Step 8:
Now, you will use the value of the tree variable to 
change the size of the tree.
Step 7:
Select slider in the menu.
Move the slider forwards and backwards, and you will 
see that the value of the tree variable changes 
between 0 and 100 (percent).
Step 9:
First, use a when green flag clicked block 
with a forever loop. Add a set size to block 
into the loop.
2
A variable is a way of storing numbers 
and/or text.
Step 10:
Now, add the tree variable into the set size to block.
Step 12:
On the Stage, right-click on the tree slider and select 
change slider range.
Step 11:
You can now move the slider to adjust the size of the 
tree. At the moment, the tree size can only be changed 
from 0 to 100.
Step 13:
Change the range to between 100 and 300.
Step 14: 
Now, move the slider to watch your tree grow in size 
from 100% to 300%.
Step 1:
Click on the ?owers sprite, then create a new 
variable called flowers. If you can’t remember 
how to do this, go back to the previous step for a 
reminder.
Step 2:
Change the color effect of the ?owers, in the 
same way that you changed the size of the tree.
3
2. Colour the ?owers
You used a tree variable to change the size of the tree. Now, you can use a variable to change the colour of 
the ?owers.
Page 4


Introduction
What will you make
You will develop a serene (meaning peaceful) scene of a wood, which you can look at, listen to, and relax 
with.
Serene scene
You will learn to use- 
? How to create variables
? How to use sliders to change the value of 
variables
? How to use forever loops to check variable 
values
1. Grow a tree
You should see a forest scene with a tree, ?owers, 
and a grasshopper. 
1
How will you open the project
? Online: Open the 
https://rpf.io/serene-scene-on in Scratch.
? Offline: Open the 
https://rpf.io/p/en/serene-scene-go in the 
Scratch offline editor. If you need to, you can 
https://scratch.mit.edu/download .
Step 2:
Create a new variable in Scratch, click on the Variables 
blocks menu.
Step 1:
First, you will make the tree change its size.
Step 3:
Then, click the Make a Variable button.
Step 4: 
You can give your variable a name. Call this 
variable tree.
Step 5:
You should now see ?ve new blocks that you can use.
You will also see that the tree block has a check 
mark next to it. This makes the variable visible on the 
Stage.
Step 6:
On the Stage, right-click on the tree variable, and a 
menu will appear.
Step 8:
Now, you will use the value of the tree variable to 
change the size of the tree.
Step 7:
Select slider in the menu.
Move the slider forwards and backwards, and you will 
see that the value of the tree variable changes 
between 0 and 100 (percent).
Step 9:
First, use a when green flag clicked block 
with a forever loop. Add a set size to block 
into the loop.
2
A variable is a way of storing numbers 
and/or text.
Step 10:
Now, add the tree variable into the set size to block.
Step 12:
On the Stage, right-click on the tree slider and select 
change slider range.
Step 11:
You can now move the slider to adjust the size of the 
tree. At the moment, the tree size can only be changed 
from 0 to 100.
Step 13:
Change the range to between 100 and 300.
Step 14: 
Now, move the slider to watch your tree grow in size 
from 100% to 300%.
Step 1:
Click on the ?owers sprite, then create a new 
variable called flowers. If you can’t remember 
how to do this, go back to the previous step for a 
reminder.
Step 2:
Change the color effect of the ?owers, in the 
same way that you changed the size of the tree.
3
2. Colour the ?owers
You used a tree variable to change the size of the tree. Now, you can use a variable to change the colour of 
the ?owers.
Step 3:
On the Stage, right-click on the flowers variable and 
set it to slider.
Now, change the slider range to between -100 and 
100.
Step 4:
Click on the green ?ag, then adjust your flowers 
slider to see the ?owers change colour.
Step 1: 
Go to the Stage pane and click on the backdrop. You 
will now develop a program for the backdrop in the 
Code area.
Step 3:
Use the set color effect to block, but use the 
drop-down menu to change color to brightness .
Step 2: 
In the Variables blocks menu, click on Make a 
Variable and call the new variable light. Change the 
variable to a slider with a range between -40 and 40.
Step 4: 
You can also add sound effects to the Stage.
To do this, click on the Sounds tab.
4
Variables that store numbers do not always have to have values that are greater than 0. You can use 
negative numbers as well.
3. Set the scene
In Scratch, you can also add code to the Stage, rather than to a sprite. In this step, you will change the 
brightness of the backdrop and add some soothing sound effects.
Page 5


Introduction
What will you make
You will develop a serene (meaning peaceful) scene of a wood, which you can look at, listen to, and relax 
with.
Serene scene
You will learn to use- 
? How to create variables
? How to use sliders to change the value of 
variables
? How to use forever loops to check variable 
values
1. Grow a tree
You should see a forest scene with a tree, ?owers, 
and a grasshopper. 
1
How will you open the project
? Online: Open the 
https://rpf.io/serene-scene-on in Scratch.
? Offline: Open the 
https://rpf.io/p/en/serene-scene-go in the 
Scratch offline editor. If you need to, you can 
https://scratch.mit.edu/download .
Step 2:
Create a new variable in Scratch, click on the Variables 
blocks menu.
Step 1:
First, you will make the tree change its size.
Step 3:
Then, click the Make a Variable button.
Step 4: 
You can give your variable a name. Call this 
variable tree.
Step 5:
You should now see ?ve new blocks that you can use.
You will also see that the tree block has a check 
mark next to it. This makes the variable visible on the 
Stage.
Step 6:
On the Stage, right-click on the tree variable, and a 
menu will appear.
Step 8:
Now, you will use the value of the tree variable to 
change the size of the tree.
Step 7:
Select slider in the menu.
Move the slider forwards and backwards, and you will 
see that the value of the tree variable changes 
between 0 and 100 (percent).
Step 9:
First, use a when green flag clicked block 
with a forever loop. Add a set size to block 
into the loop.
2
A variable is a way of storing numbers 
and/or text.
Step 10:
Now, add the tree variable into the set size to block.
Step 12:
On the Stage, right-click on the tree slider and select 
change slider range.
Step 11:
You can now move the slider to adjust the size of the 
tree. At the moment, the tree size can only be changed 
from 0 to 100.
Step 13:
Change the range to between 100 and 300.
Step 14: 
Now, move the slider to watch your tree grow in size 
from 100% to 300%.
Step 1:
Click on the ?owers sprite, then create a new 
variable called flowers. If you can’t remember 
how to do this, go back to the previous step for a 
reminder.
Step 2:
Change the color effect of the ?owers, in the 
same way that you changed the size of the tree.
3
2. Colour the ?owers
You used a tree variable to change the size of the tree. Now, you can use a variable to change the colour of 
the ?owers.
Step 3:
On the Stage, right-click on the flowers variable and 
set it to slider.
Now, change the slider range to between -100 and 
100.
Step 4:
Click on the green ?ag, then adjust your flowers 
slider to see the ?owers change colour.
Step 1: 
Go to the Stage pane and click on the backdrop. You 
will now develop a program for the backdrop in the 
Code area.
Step 3:
Use the set color effect to block, but use the 
drop-down menu to change color to brightness .
Step 2: 
In the Variables blocks menu, click on Make a 
Variable and call the new variable light. Change the 
variable to a slider with a range between -40 and 40.
Step 4: 
You can also add sound effects to the Stage.
To do this, click on the Sounds tab.
4
Variables that store numbers do not always have to have values that are greater than 0. You can use 
negative numbers as well.
3. Set the scene
In Scratch, you can also add code to the Stage, rather than to a sprite. In this step, you will change the 
brightness of the backdrop and add some soothing sound effects.
Step 7:
Create a rain variable and make it appear as a 
slider.
Step 8: 
Add code to play the Rain sound forever
Step 9:
Add  set the volume of the sound to the value of the 
rain variable.
5
4.  Make the fauna move
Fauna means animals. In this step, you will add a moving grasshopper to your serene scene.
Step 5: 
Click on the Choose a Sound icon in the bottom 
left-hand corner of the screen to select a sound.
Step 6:
You can now search for sounds. In this project, we will 
use the Rain sound, but you can choose anything you 
like. Click on the Rain icon to select the sound.
Step 10:
Click on the green ?ag to run your code and change the volume of the rain with the slider.
Step 1:
Set up the Grasshopper sprite so that it moves 
from left to right and appears behind the tree 
and ?owers.
Step 2:
Now, make your Grasshopper sprite move back and 
forth across the Stage.
Read More
Explore Courses for Class 6 exam
Related Searches
Summary, Previous Year Questions with Solutions, practice quizzes, Exam, shortcuts and tricks, Objective type Questions, mock tests for examination, Project 20: Serene Scene, Viva Questions, Important questions, Semester Notes, ppt, MCQs, Sample Paper, study material, Project 20: Serene Scene, Extra Questions, Free, past year papers, Project 20: Serene Scene, pdf , video lectures;