Grade 2 CT • Coding Your Dream • Day One
Grade 2Computational Thinker Coding Your Dream
DAY 1
Overview
Today I will learn how to sequence a project in Scratch Jr.
Lesson
Today we will be adding code to our Dream project. We will be using some of the advanced code blocks that we have used at the beginning of our unit to move your character (sprite) through your dream.
STEP 1.
Advanced Code Blocks Links to an external site. that will be using in Scratch Jr. for this project. Directions: Follow along with your teacher to review some of the
Motion Blocks (Blue Blocks)
Go Home sends the Sprite back to its original start spot.
Sound Blocks (Green Blocks)
POP lets the Sprite make a Pop noise. Other sounds are also an option here.
Sound Blocks (Green Blocks)
Play Sound lets the programmer record a sound or text.
Looks Blocks (Pink Blocks)
Say Sound gives the Sprite a text bubble above their head.
Looks Blocks (Pink Blocks)
Appear makes the Sprite appear.
Looks Blocks (Pink Blocks)
Hide makes the Sprite hide from the scene.
Control Blocks (Orange Blocks)
Set Speed sets the speed of the sprite movement.
End Blocks (Red Blocks)
End stops the code from progressing.
End Blocks (Red Blocks)
Go to Page ends the code and then moves to another page. The number at the top right corner, is the page it will go to.
Activity:
Since stories and dreams often sequence from one setting to another, our dream must connect from your bedroom scene to your dream scene and then back to the bedroom scene.
STEP 2. SEQUENCING
Directions: Follow along with your teacher to connect your background pages of your dream, and sequence them in order, using End Blocks.
- Open Scratch Jr. app
- Open your saved Dream(Your Name) saved project.
- Sequence your pages of your dream to each other. Use the RED END BLOCKS to code this.
- Sequence page 1 (sleeping bedroom scene) to page 2 (dream scene).
- Sequence page 2 (dream scene) to page 3 (waking up bedroom scene).
- Add an empty end block to any sprite (that is not you) on page 2.
- Add an empty end block to the code on page 3 so it ends the dream.
- Loop/Repeat any code that is repeated.
Resources
This course content is offered under a CC Attribution Non-Commercial Share Alike Links to an external site. license. Content in this course can be considered under this license unless otherwise noted.