Module Title: Introduction to Scratch Programming
Duration: First Week ( 05/04/2025)
Target Audience: Beginners (Primary/Secondary School Students)
Steps to Download and Install Scratch
Option 1: Using Scratch Online (Installation Required)
1. Open a web browser (Chrome, Edge, or Firefox).
2. Go to Scratch's official website. [Link]
3. Click "Create" to start coding without installation.
4. (Optional) Click "Join Scratch" to create an account and save projects.
5. Exploring the Scratch workspace
Option 2: Getting Started with Scratch ( No Installation Required)
• Creating a Scratch account (if using online version)
• Exploring the Scratch workspace
Lesson 1: Basic Motion and Events
• Introduction to Scratch and its interface (Stage, Sprites, Blocks)
• Using motion blocks to move a sprite
• Understanding event blocks (e.g., "when green flag clicked")
• Simple hands-on activity: Move a sprite in different directions
Lesson 2: Looks and Sounds
• Changing sprite costumes
• Adding sounds and playing music
• Creating a simple animation
Lesson 3: Simple Interaction with Input
• Using "Say" blocks for text interactions
• Introducing "Ask and Answer" for basic user input
• Mini project: Interactive greeting program
📘 Module Week 2: Getting Started with Scratch
Title: “Create Your First Animation in Scratch!”
🎯 Learning Objectives
By the end of this lesson, students will be able to:
• Identify and select characters (sprites) in Scratch.
• Set up and customize a background.
• Use basic block coding to animate characters.
• Add a second character and apply simple interactivity.
📅 Lesson Plan
Duration: 60–90 minutes
Tools Needed: Scratch (online or offline editor), projector/screen, computer lab access
🧩 Step-by-Step Activities
✅ Step 1: Select Your Main Character
• Task: Open Scratch and choose the “Chick” sprite from the library.
• Teacher Tip: Guide students to explore other available sprites but ensure everyone starts
with the chick for consistency.
✅ Step 2: Setup the Background
• Task: Choose and set a suitable background (e.g., a farm or nature scene).
• Exploration: Let students experiment with colors and themes.
✅ Step 3: Code Your Chick to Move
• Block Code: Use motion and event blocks to make the chick walk or move when a key is
pressed (refer to image in document).
o when green flag clicked
o repeat or forever loop
o move 10 steps, wait, etc.
• Challenge Extension: Make the chick say “Hello!” using the looks block.
✅ Step 4: Insert Second Character
• Task: Add another sprite (e.g., a cat or a friend for the chick).
✅ Step 5: Add More Interactions
• Block Code: Repeat Step 3 for the new character.
• Ideas: Make them talk to each other, or both move when a key is pressed.
🖥️ Output
Students will present a short animation with:
• 2 characters
• A background
• Basic movement and interaction using block code
🧠 Reflection & Sharing
• Discussion: Ask students to share what they enjoyed or found difficult.
• Showcase: Let a few students show their animation to the class.
📌 Homework / Optional Extension
• Ask students to modify their project with:
o Sound effects
o More dialogues between characters
o Different backdrops
Output
📘 Week 3 Module – Scratch Programming
🎮 Catching Game Project
🎯 Learning Objectives
By the end of this module, you will be able to:
• Add and manipulate sprites in Scratch.
• Use basic motion and event blocks.
• Apply control structures to create interactive gameplay.
• Keep score using variables.
📅 Lesson Plan
Duration: 60–90 minutes
Tools Needed: Scratch (online or offline editor), projector/screen, computer lab access
🧩 Step-by-Step Activities
Step 1: Open Scratch
• Go to [Link] (online) or offline and click “Create” to start a new project.
Step 2: Setup the Catcher
1. Delete the default cat sprite.
2. Click Choose a Sprite and add a Bowl sprite.
3. Rename the sprite as Catcher.
4. Add the following code to move the catcher left and right using arrow keys:
Step 3: Add the Ball
1. Click Choose a Sprite and add a Baseball sprite.
2. Rename it to Ball.
3. Position the ball at the top of the stage.
Step 4: Make the Ball Fall
Add the following code to make the ball fall from the top:
Step 5: Detect Catch
Add this code to the ball to detect if it touches the catcher:
Step 6: Keep Score
1. Click Variables → Make a variable → Name it Score.
2. Add this code to reset and display score:
Output
📘 Week 4 Module – Scratch Programming
🎮 Project Title: “Avoid the Ball!” Game
🎯 Learning Objectives
By the end of this lesson, students will be able to:
• Use if conditions to detect collisions.
• Create motion using forever, move, and pick random.
• Use set x to mouse x to control a paddle.
• Combine motion and detection to create a basic interactive game.
📅 Lesson Duration
60–90 minutes
🛠️ Tools Needed
• Scratch 3.29.1 (offline or online)
• Projector and computer lab access
🧩 Step-by-Step Activities
✅ Step 1: Paddle Control (Player)
Sprite: Paddle
Blocks used: when green flag clicked, forever, set x to mouse x
📌 This lets students move the paddle horizontally using their mouse.
✅ Step 2: Add the Falling Ball (Obstacle)
Sprite: Ball
Backdrop: Use any calm scenery (like in the images)
📌 This creates a ball that drops down, and when it touches the paddle, it bounces off in a new
direction randomly.
🖥️ Output
• Interactive game where the ball falls and the paddle moves left/right.
• Players try to catch or avoid the ball depending on your game goal.
🧠 Reflection & Sharing
• Ask students to describe how the collision detection works.
• Let volunteers show their games and explain what they changed.
Output
Scratch Programming Module – Week 5
📚 Topic / Tajuk
Introduction to Scratch
🎯 Learning Objectives / Objektif Pembelajaran
By the end of this lesson, students will:
• Understand key Scratch interface components.
1
4
3
2
6
Captions Name Explanations
1 Menu Saving, Editing, Project Name
2 Sound In Scratch, "sound" refers to any audio that can be added to a
project such as:
a. Music
b. Voice Recordings
c. Sound Effect (Jumping/Dancing/Clapping/etc)
3 Costumes In Scratch, a costume is the appearance or "look" of a sprite. A
sprite can have multiple costumes, allowing it to change its look,
move, or even animate.
4 Code (Block Code) 1. Motions (Move, turn, glide)
2. Looks (Show Text)
3. Sound (Insert Audio)
4. Events (Execute)
5. Control (Loops)
6. Sensing (Input – Mouse)
7. Operators (Mathematical Operation)
8. Variable (Score)
9. My Block (Costume Block)
5 Screen Drag and Drop the Block Code
6 Sprite Character (Role for Sprite)
7 BackDrop Setting Background Image
Scratch Programming Module – Week 6
🎮 Project Title: Pong-Style Game (2 Players)
🧩 Learning Objectives
By the end of this lesson, students will be able to:
• Use control structures such as if, forever, and wait.
• Utilize variables to keep track of scores.
• Apply sensing blocks to detect collisions.
• Create a simple 2-player game using sprites and backdrops.
🧠 Concepts Covered
• Motion and direction of sprites
• Collision detection using touching
• Using variables to store and update scores
• Random block for varied gameplay
• Game loop using forever
🖥️ Game Overview
In this project, students will recreate a basic Pong game:
• A ball bounces between two paddles.
• If a player misses the ball, the opponent scores a point.
• The game runs continuously with score updates.
🔧 Sprites Used
1. Ball
2. Paddle 1 (Left side)
3. Paddle 2 (Right side)
4. Line 1 (Left wall – score for Player 2)
5. Line 2 (Right wall – score for Player 1)
🎯 Key Variables
• Player 1 Score
• Player 2 Score
Output
Scratch Programming Module – Week 7
Module Title: Rock Blaster Game Development with Scratch (Beginner to Intermediate Level)
Learning Outcome: At the end of this module, students will be able to:
• Design a simple one-player game using Scratch.
• Use cloning to generate multiple enemies (rocks).
• Control a sprite using keyboard events.
• Use variables to track score.
• Detect collisions and respond with actions.
✅ Step-by-Step Instructions
① Set the Background:
• Click the Stage.
• Select the Space backdrop to match the space theme.
② Add Sprites:
• Rocketship
• Rocks (Enemy)
• Laser (Projectile)
• Game Over (Optional text sprite for ending)
💡 Code Explanation (based on the Screenshot)
Rocks Sprite Code:
When Green Flag Clicked:
• Show the rock
• Set its size to 50%
• Create one clone (you can change to loop to create more)
• Hide the original to only show clones
When I Start as a Clone:
• Position the clone randomly on the right side
• Randomize speed of falling
• Repeat until it touches Rocketship
o Move left by speed value
o If it goes off-screen, reset to the right with new random Y position
o If it touches Laser:
▪ Increase score by 1
▪ Reset to right side with random Y
▪ Play sound
o If touches Rocketship:
▪ Broadcast "Game Over"
🌐 Optional Enhancements
• Add timer
• Add multiple rock clones
• Add power-ups or special effects