Learning Goals 3 min
By the end of this lesson you will be able to:
- Name all eight clusters of Level 4 and give the single highest-leverage skill from each — workflow/remix culture, Pen, Music, multi-level platformer, animation studio, arcade recreation, trivia studio, and ship/share/recap.
- Recite the 20+ vocabulary terms drawn from across all four levels of the curriculum — the cold-memory list the L4 assessment will test.
- Read a three-cluster graduation mini-project and identify which L4 cluster each script comes from, and explain what to do after Level 4 — other coding languages, the Scratch community, mentoring younger students.
Warm-Up — graduation quiz, three puzzles 7 min
The L4 assessment is next class. This is your last warm-up of the whole curriculum. Three puzzles, one per L4 cluster. Predict the answer in your head without scrolling back. Then peek.
Puzzle 1 — the Pen drawing
when flag clicked
erase all
pen down
repeat (4)
move (100) steps
turn cw (90) degrees
end
pen up
Reveal puzzle 1
The sprite draws a square with 100-step sides. Four moves of 100 + four turns of 90° = 360° total turn, which is the rule for any closed regular polygon. The number inside the repeat is the number of sides; the turn angle is always 360 ÷ sides. (L04 cluster B — Pen.)
Puzzle 2 — the music phrase
when flag clicked
set tempo to (120)
set instrument to (1)
play note (60) for (1) beats
rest for (0.5) beats
play note (62) for (0.5) beats
play note (64) for (2) beats
Reveal puzzle 2
The phrase plays C (note 60) for one beat, pauses half a beat, plays D (62) for half a beat, then plays E (64) for two beats — roughly 4 seconds total at 120 BPM. The rest is a silent beat, not a stop. Without it, the phrase would feel rushed. (L04 cluster C — Music. The rest block is the cluster-C skill students forget most often.)
Puzzle 3 — the level variable
when flag clicked
set [level v] to (1)
when [n v] key pressed
change [level v] by (1)
switch backdrop to (join [Level ] (level))
Reveal puzzle 3
At flag click, level is 1 and the backdrop should be "Level 1". Press N: level becomes 2, backdrop switches to "Level 2". Press N again: 3, "Level 3". The join reporter builds the backdrop name dynamically — no chain of if-elses needed. (L04 cluster D — multi-level platformer. The level variable + dynamic backdrop name is the core platformer trick from L04-18 to L04-24.)
Three puzzles, three different L4 clusters. If you got all three without notes — you're ready for the assessment and the graduation. If not, the cluster you missed is the one to replay tonight.
New Concept — the eight clusters of Level 4, and the four-level journey 15 min
Level 4 had 48 lessons spread across eight clusters. Like every level before it, nobody remembers 48 things. They remember eight ideas. Today's job: name all eight, name the highest-leverage skill from each, and then zoom out one more level to see the whole four-level curriculum as one connected journey.
The eight L4 clusters at a glance
| Cluster | Lessons | One big idea | Highest-leverage skill |
|---|---|---|---|
| A · Workflow + remix culture | L04-01 to L04-05 | Reading other people's code, the remix button, the See Inside button, the L3 recap quiz. | Hit Remix instead of right-click-saving. |
| B · Pen extension | L04-06 to L04-11 | Generative drawing — kolam patterns, spirographs, polygons drawn from numbers, not imported. | Pen-down + repeat with a turn angle of 360 ÷ sides. |
| C · Music extension | L04-12 to L04-16 | Composing tunes from play note and play drum blocks, with tempo and rests. | Rests are notes too — leave silence on purpose. |
| D · Multi-Level Platformer | L04-17 to L04-24 | Designing 3 levels on paper, the level variable, per-level backdrops and enemy patterns, checkpoint saves, boss sprites. | One level variable + dynamic backdrop names. |
| E · Animation Studio | L04-25 to L04-31 | Cutout animation, frame-by-frame timing, lip-sync, scene transitions, an animated short. | Costume-switching at controlled intervals = animation. |
| F · Arcade-Classic Recreation | L04-32 to L04-37 | Recreating Pong, Snake, Breakout, Space Invaders — old-school arcade physics in modern Scratch. | Two paddles, one ball, one velocity-vector pair (vx, vy). |
| G · Trivia / Quiz Studio | L04-38 to L04-44 | Question lists, answer-checking, scoring, timers, lifelines, high-score persistence. | ask [...] and wait + check answer against a list. |
| H · Ship, Share, Recap | L04-45 to L04-48 | Studios & collections, remix etiquette, portfolio of 4 projects, this recap. | Curate four; describe four; ship four. |
How the L4 clusters chain together
Like Level 3, L4's clusters aren't independent. Your portfolio's platformer (D) probably uses cloning (a Level 3 skill) for collectibles, a state machine (also L3) for the pause menu, the Music extension (C) for level-clear jingles, and a tiny Pen-drawn (B) HUD overlay. A trivia studio (G) is glued together with lists (L3) and operators (L3). The cluster table above is a vocabulary map, not a list of independent topics.
Zooming out — the four-level journey
You've now finished 192 lessons across four levels. Let's name what each level taught in one sentence:
| Level | The one-sentence summary | The level you became |
|---|---|---|
| Level 1 · Beginner | Meeting the blocks — events, motion, looks, sound, control, the Stage, sprites, costumes. | Can build a single-sprite walking-and-talking animation. |
| Level 2 · Intermediate | Meeting the patterns — conditionals, loops, variables, the smallest game loops, broadcast. | Can build a small interactive game with a score and a win condition. |
| Level 3 · Advanced | Combining patterns into real games — operators, lists, my blocks, clones, state machines, mazes, platformers. | Can build a multi-cluster cert-style game from scratch in under an hour. |
| Level 4 · Expert | Specialising — Pen, Music, multi-level platformer, animation, arcade, trivia, portfolio. | Can pick a kind of project and ship a polished, shareable version of it. |
L1 was "can I make the cat move?". L2 was "can the cat make decisions?". L3 was "can the cat star in a real game?". L4 was "can the cat star in any kind of project I want?". That's the arc. Four levels, one journey, one big increase in what you can choose to build.
What you can build now — the L4 graduation card
This is your graduation card. Any of the following, you can build from scratch (pun intended) without a tutorial:
- A generative-art piece that draws a different kolam or spirograph every time the flag is clicked.
- A theme song in three instruments with tempo changes, a chorus, and matching drum rhythm.
- A 3-level platformer with gravity, jumping, checkpoints, a boss, and a polished title/end screen.
- A 60-second animated story with multiple scenes, lip-synced dialogue, and a backing soundtrack.
- A faithful recreation of an arcade classic — Pong, Snake, Breakout, Asteroids — with two-player support.
- A 20-question trivia game with lifelines, a persistent high-score list, and category selection.
- A four-project portfolio studio with descriptions, signature stacks, and a polite remix-etiquette stance.
What to do next — life after Level 4
This is the last lesson of the whole curriculum. Three honest paths from here:
- Other coding languages. If you loved the my-blocks (L3 cluster C) and the operator arithmetic (L3 cluster A), you'll love Python — text-based, but the patterns are identical. If you loved building games, you'll love Lua (used in Roblox) or GDScript (used in Godot). The Advaslearning Hub Python pathway picks up exactly where this ends.
- Join the Scratch community. Share your portfolio publicly (this lesson's homework). Follow other students whose work you admire. Comment on projects you like. Remix politely. The community is the playground; you're now equipped to be a useful citizen of it.
- Mentor a younger student. Help a Level 1 student through their first walking-cat project. You'll discover how much you know — by trying to explain it. Teaching is the second-best way to learn, and the very best way to consolidate what you already learned.
Worked Example — the graduation mini-project 12 min
Below is a tiny project that touches three L4 clusters at once — Pen (B), Music (C), and Platformer (D). Read it top to bottom. After each script, name which cluster it belongs to. This is the kind of multi-cluster reading the L4 assessment expects.
Step 1 — the setup
Project: "Petronas Tower Climb — Graduation Edition". One sprite (a tiny climber), one backdrop per level, the Pen extension loaded, the Music extension loaded. Variables: level, velocity-y.
Step 2 — the Pen HUD outline (cluster B)
when flag clicked
erase all
go to x: (-220) y: (160)
pen down
repeat (4)
move (50) steps
turn cw (90) degrees
end
pen up
Cluster B — Pen. Eight blocks. Draws a 50×50 square using 360 ÷ 4 = 90° turns. Generative geometry, just like L04-09.
Step 3 — the level-clear jingle (cluster C)
when I receive [level-clear v]
set instrument to (4)
play note (67) for (0.25) beats
play note (72) for (0.25) beats
play note (76) for (0.5) beats
Cluster C — Music. Five blocks. A G–C–E phrase that signals completion. The broadcast pattern (L02 + L04 cluster A) glues the music to the level-up event.
Step 4 — the gravity-and-jump loop (cluster D)
when flag clicked
set [level v] to (1)
set [velocity-y v] to (0)
forever
change [velocity-y v] by (-1)
change y by (velocity-y)
if <key [space v] pressed?> then
if <touching color [#00aa00] ?> then
set [velocity-y v] to (15)
end
end
if <touching color [#ffff00] ?> then
change [level v] by (1)
switch backdrop to (join [Level ] (level))
broadcast [level-clear v]
end
end
Cluster D — multi-level platformer. The level variable, the dynamic backdrop name (cluster B-style operator joining), and the broadcast that triggers the music jingle (cluster C). One stack, three clusters cooperating.
Step 5 — recognise the pattern
The project is under 30 blocks total across three sprites. It uses Pen, Music, and Platformer — three of the eight L4 clusters — in one project. This is what an L4 cert-style project looks like. Not "build me a 500-block game" — but "show me you can pick the right blocks from three different clusters and connect them into something small that works".
Step 6 — what's missing on purpose
This mini-project doesn't have a title screen, an end screen, a high-score list, or polished cutout animation. That's fine for a graduation demo — but in your portfolio (L04-47), the Platformer slot would need all of those before it's portfolio-ready. The graduation mini-project shows skill; the portfolio project shows skill plus polish.
Step 7 — extension ideas
Three ways to take this further as a fourth-cluster bonus:
- Add an animated cutscene between levels (cluster E — animation).
- Replace the goal-yellow with a Snake-style trail of collectibles (cluster F — arcade).
- Add a trivia question between each level — answer correctly to unlock the next backdrop (cluster G — trivia).
Step 8 — the full mini-stack, all in one place
when flag clicked
erase all
set [level v] to (1)
set [velocity-y v] to (0)
go to x: (-220) y: (160)
pen down
repeat (4)
move (50) steps
turn cw (90) degrees
end
pen up
forever
change [velocity-y v] by (-1)
change y by (velocity-y)
if <touching color [#ffff00] ?> then
change [level v] by (1)
broadcast [level-clear v]
end
end
What you just proved: you can read a multi-cluster L4 project and name where each piece comes from. Reading first, then writing. That's the L4 assessment skill in one sentence.
Try It Yourself — build your graduation reflection 15 min
Three difficulty tiers. Pick the one that matches your honest energy today — and no marks for picking the hardest one and freezing.
Goal: On paper, write your L4 graduation card. For each of the eight L4 clusters (A–H), write one project you built or remember strongly from that cluster, and the highest-leverage skill from the table. Eight lines, no code.
Example: "Cluster B — Pen. Project: my Deepavali kolam generator from L04-10. Highest-leverage skill: pen-down + repeat with turn angle of 360 ÷ sides."
Think: If you can't name a project for a cluster, that's the cluster to replay before the assessment. The graduation card doubles as a study guide.
Goal: Build the smallest possible graduation mini-project that touches three different L4 clusters. Pick any three. Target: under 25 blocks total.
when flag clicked
erase all
pen down
repeat (6)
move (60) steps
turn cw (60) degrees
end
pen up
play note (60) for (1) beats
when [n v] key pressed
change [level v] by (1)
switch backdrop to (join [Level ] (level))
Think: A real L4 project almost never lives in just one cluster. Practising the smallest multi-cluster combination is how you stop seeing L4 as eight separate worlds.
Goal: Build a full graduation mini-project that combines four L4 clusters — like the Worked Example, but pick a different combo. Suggestions: Pen + Music + Animation + Trivia, or Platformer + Arcade + Music + Pen. Aim for under 30 blocks per sprite. Write a short Notes & Credits paragraph naming the four clusters used.
when flag clicked
set [score v] to (0)
ask [Sebutkan ibu kota Sarawak.] and wait
if <(answer) = [Kuching]> then
change [score v] by (1)
play note (72) for (1) beats
erase all
pen down
repeat (5)
move (50) steps
turn cw (72) degrees
end
pen up
end
Think: This is the shape of the L4 assessment. Not "build me a 200-block game" — but "show me you can pick blocks from multiple clusters and connect them into something small that works".
Mini-Challenge — "Aisyah's mystery graduation stack" 5 min
Which L4 clusters is she using?
Aisyah hands you the stack below from her own graduation demo. "Tell me which L4 clusters I used." Read it cold.
when flag clicked
set [level v] to (1)
erase all
go to x: (0) y: (0)
pen down
repeat ((level) * (3))
move (50) steps
turn cw ((360) / ((level) * (3))) degrees
end
pen up
when I receive [next-level v]
change [level v] by (1)
switch backdrop to (join [Level ] (level))
set instrument to ((level) + (1))
play note ((60) + ((level) * (2))) for (0.5) beats
List the L4 clusters in play. Bonus: explain why the shape drawn on level 1 is a triangle, on level 2 is a hexagon, on level 3 is a 9-sided polygon, and so on.
Reveal one valid solution
Three clusters in this stack:
- Cluster B — Pen. erase all, pen down, pen up, plus a repeat loop with a turn angle computed by the
360 ÷ sidesrule. - Cluster C — Music. set instrument to (...) and play note (...) for (0.5) beats — with the pitch and instrument both dependent on the level number.
- Cluster D — Multi-Level Platformer. The level variable, change [level v] by (1), and the dynamic backdrop name via join [Level ] (level).
The Pen shape: (level) * (3) sides means level 1 = 3 sides (triangle), level 2 = 6 sides (hexagon), level 3 = 9 sides (nonagon), level 4 = 12 sides (dodecagon). The turn angle compensates exactly — 360 ÷ ((level) * (3)) — so the polygon always closes. As level rises, the shape gets rounder and the music gets higher-pitched on a different instrument. One small stack, three clusters cooperating, level-dependent everything. This is what L4-graduation code looks like.
Recap — the whole curriculum in one paragraph 3 min
This is the end of Level 4 and the end of the whole four-level Scratch curriculum. Level 1 taught you the blocks. Level 2 taught you the patterns. Level 3 taught you to combine patterns into real games. Level 4 taught you to specialise — picking a kind of project and shipping a polished, shareable version of it across eight clusters: workflow + remix culture (A), Pen (B), Music (C), Multi-Level Platformer (D), Animation Studio (E), Arcade Recreation (F), Trivia Studio (G), and Ship/Share/Recap (H). Your portfolio (built last lesson) is the receipt. The 20+ terms below are the cold-memory vocabulary list spanning all four levels — if you can define each one without looking, you're ready for the L4 assessment and for whatever's next, whether that's Python, the Scratch community, or mentoring a Level 1 student through their first walking-cat project. Selamat tamat. Well done.
- Sprite
- A character or object on the Scratch Stage with its own costumes, sounds, and scripts. (L1 foundation; used in every level.)
- Stage
- The 480×360 rectangle where your project runs. Has its own backdrops and its own scripts. (L1.)
- Costume
- One frame of a sprite's appearance. Switching costumes is how Scratch does animation. (L1; key to L4 cluster E.)
- Broadcast
- A named message a script sends to all sprites at once. The way sprites talk to each other. (L2; central to L4's multi-sprite coordination.)
- Conditional (if-then)
- A control C-block that runs its inside only when a hexagonal boolean reporter in its diamond slot reports true. The smallest decision in Scratch. (L2.)
- Variable
- A named container for a single value — a number or text. Made in the Variables palette. Used for score, lives, state, level. (L2; gated game scripts in L3 and L4.)
- List
- A named variable holding many values in order. Scratch lists are 1-indexed. Made via "Make a List" in the Variables palette. (L3; central to L4 cluster G — trivia question banks.)
- 1-indexed
- The first item in a Scratch list is item 1, not item 0. The single most common off-by-one bug in L3 and L4. (L3.)
- My block
- A custom block you define once and call from anywhere on the same sprite. The L3 cluster C signature, and the cleanest way to keep big projects readable. (L3; used everywhere in L4.)
- Clone
- A live copy of a sprite made with create clone of [myself v]. Each clone runs its own when I start as a clone script. (L3; collectibles and enemies in L4 platformer.)
- State machine
- A pattern where one state variable holds
title/play/paused/game overand every script gates on it. (L3; powers every L4 portfolio project.) - Modulo (mod)
- The () mod () operator. Reports the remainder after division. (L3 cluster A.)
- Pen extension
- An optional palette (loaded from Add Extension) that adds pen down, pen up, erase all, and colour/size controls. The basis of generative drawing. (L4 cluster B.)
- Music extension
- An optional palette that adds play note, play drum, rest for, and tempo controls. The basis of composing in Scratch. (L4 cluster C.)
- Tempo
- Beats per minute. Default 60. Controlled via set tempo to (). Changing tempo mid-song = speed-up or slow-down. (L4 cluster C.)
- Rest (musical)
- A measured silence in a music script via rest for () beats. Without rests, melodies feel rushed and shapeless. (L4 cluster C.)
- level variable
- A Scratch variable holding the current level number (1, 2, 3…). Used with join [Level ] (level) to switch backdrops dynamically without a chain of if-elses. (L4 cluster D.)
- Checkpoint save
- A persistent record (usually in a variable or list) of the highest level the player has reached, restored on flag click. The L4 cluster D pattern from L04-21. (L4 cluster D.)
- Boss sprite
- A unique sprite with elevated behaviour that only appears on a specific level. Always gated on if <(level) = (...)> then. (L4 cluster D — L04-22.)
- Cutout animation
- An animation style where sprites are made of separately moved limbs/parts, each costume-switched individually. (L4 cluster E — L04-25.)
- Velocity vector
- A pair of variables (vx, vy) representing speed in x and y directions. The basis of arcade physics — Pong, Snake, Breakout. (L4 cluster F.)
- ask and wait
- The Sensing block ask [...] and wait that prompts the player and stores their typed reply in answer. The basis of every trivia game. (L4 cluster G.)
- High-score list
- A persistent Scratch list (cluster G + L3 lists) that accumulates scores across runs of the game. Survives flag-clicks because lists persist between runs. (L4 cluster G.)
- Remix
- Clicking the orange Remix button on a shared project to make a full editable copy with an automatic credit banner. (L4 cluster A — L04-04.)
- Substantial change
- A remix modification a reader can see or feel in the first 30 seconds of play. Rule 2 of remix etiquette. (L4 cluster H — L04-46.)
- Studio (Scratch)
- A Scratch feature for grouping projects under one URL. The container your L4 portfolio lives in. (L4 cluster H — L04-45 and L04-47.)
- Portfolio
- A curated studio of your four best L4 projects — one per major cluster (Pen, Music, Platformer, and one of Animation/Arcade/Trivia) — with a description in each project's Notes & Credits. (L4 cluster H — L04-47.)
Homework — share your portfolio publicly, prepare for the assessment 2 min
The Public Share. This homework is meta — it isn't building anything new. It's about your L4 portfolio going from "exists" to "exists in public", and getting ready for the closing assessment.
- Open your portfolio studio from L04-47. Confirm all four projects have title screens, working core loops, and a Notes & Credits description each.
- For each of the four portfolio projects, hit the orange Share button if you haven't already. The project is now visible to the whole Scratch community.
- Mark your studio as Open to All in the studio settings so anyone can comment.
- Post your studio URL to wherever your class shares work — the school's Google Classroom, the Advaslearning channel, or hand it to your cikgu in person.
- Re-read the 27 vocabulary terms above. Cover the definitions. Try to say each one out loud — including the ones from L1 and L2. The L4 assessment can pull terms from anywhere across the four levels.
- For each of the eight L4 clusters, open your favourite project from that cluster and hit the flag once. Play it for at least one minute. This is the cold-memory revision: re-experiencing your own code is the fastest way to re-load the cluster into your head.
Bring back next class:
- The public URL of your portfolio studio (so we can all visit and leave hearts).
- Your answer to: "Which of the eight L4 clusters do you feel weakest in, and which do you feel strongest in?" — so the assessment can be paced to give you the most help where you need it.
- A clear head. The L4 assessment is built from the eight clusters above, in cert-style multi-cluster combinations like today's worked example. Nothing on it will be new.
- If you want — and we'd love it — a one-line note about what you plan to do after Level 4: Python, Roblox/Lua, more Scratch, mentoring a younger student, or simply "I haven't decided yet, and that's fine".
Heads up for next class: SCR-L04 Assessment. 90 minutes. Three sections — a reading section (predict-before-click on three multi-cluster L4 stacks), a build section (a small cert-style project combining at least three of the eight L4 clusters, just like today's stretch task), and a portfolio presentation section where each student walks the cikgu through their four-project studio in three minutes. Bring everything you've built across L4 — you may reference your own projects during the build section. Selamat berjaya, dan tahniah atas tamat pengajian!