Complete for freeBeginner

Course 2

Creative Coding with Scratch

A self-paced game-design course in Scratch 3, the free block-based editor from the Scratch Foundation. You start by placing sprites on the stage's x–y grid and wiring scripts to events, then build a firefly scene, a key-mash race with a fair start and a referee that runs on broadcasts and a state variable, and Reef Catch, a catch game with easing, animation, sound, and visual feedback. Later modules add collisions, gravity, and jumping in a platformer, then clones, custom blocks (including run without screen refresh), and lists in a lane shooter that grows waves, a story, and difficulty that adapts to the player. Each module has Notes with quizzes, a step-by-step Build-along, and Practice exercises with hints and full solutions. The course ends with a capstone: a multi-level game you plan, build in milestones, playtest, and present.

Free completion promise: Scratch is free, needs no account, and runs in a web browser, so every lesson, exercise, and the capstone can be completed for $0 on any computer with a keyboard.

What's inside

  • 24hand-written lessons
  • 24videos
  • 31diagrams, charts & live previews
  • 48quiz questions
  • 188code examples

Before you begin

Requirements & setup for Creative Coding with Scratch

Start with the complete free pathway below. Hardware, subscriptions, paid APIs, and cloud credits are never required.

Start here · free path

Your complete $0 setup

Scratch is free, needs no account, and runs in a web browser, so every lesson, exercise, and the capstone can be completed for $0 on any computer with a keyboard.

$0 required

Setup checklist

0 of 6 complete

This checklist is a temporary setup aid and resets when the page reloads. Saved course progress begins in the setup lessons below.

  1. Everything required for this course is free. Paid software, APIs, cloud credits, GPUs, and physical equipment are optional.

    About 2 min
  2. Open scratch.mit.edu in Chrome, Firefox, Edge, or Safari and click Create, or go straight to scratch.mit.edu/projects/editor.

  3. Optional: install the Scratch app from scratch.mit.edu/download (Microsoft Store on Windows, Mac App Store or direct download on macOS, Google Play on Chromebooks) if your internet is unreliable.

    About 5 min
  4. Optional, with a parent or guardian: click Join Scratch to make an account for saving online, the Backpack, and sharing.

    About 5 min
  5. Drag a move (10) steps block into the code area and click it to check that Scratch responds.

    About 5 min
  6. Scratch 3 (free online editor or Scratch app): The editor opens with the Scratch cat on the stage, and clicking a move (10) steps block slides the cat right while the x box under the stage changes from 0 to 10.

    About 5 min

Software

1 item

Scratch 3 (free online editor or Scratch app)

Scratch is a free visual programming language where you snap blocks together instead of typing code. The online editor runs in any current browser, and the free Scratch app works offline on Windows, macOS, Chromebooks, and Android tablets. Every lesson works without an account.

Course need
Scratch 3 (free online editor or Scratch app)
Free

Scratch is a free visual programming language where you snap blocks together instead of typing code. The online editor runs in any current browser, and the free Scratch app works offline on Windows, macOS, Chromebooks, and Android tablets. Every lesson works without an account. Every lesson is readable text with copyable code, keyboard-friendly quizzes and step-throughs, and videos with YouTube captions.

  1. Open scratch.mit.edu in Chrome, Firefox, Edge, or Safari and click Create, or go straight to scratch.mit.edu/projects/editor.
  2. Optional: install the Scratch app from scratch.mit.edu/download (Microsoft Store on Windows, Mac App Store or direct download on macOS, Google Play on Chromebooks) if your internet is unreliable.
  3. Optional, with a parent or guardian: click Join Scratch to make an account for saving online, the Backpack, and sharing.
  4. Drag a move (10) steps block into the code area and click it to check that Scratch responds.

Hardware

Nothing required

No physical hardware is needed for this course.

Accounts

Nothing required

No external account is needed for this course.

What you will be able to do

Learning outcomes

  • Place and move sprites precisely with x and y coordinates, directions, costumes, and layers.
  • Coordinate many sprites with broadcasts, variables, conditions, and a game state variable instead of fragile timers.
  • Make movement feel good with easing, animation timing, sound, and graphic effects, and write fair scoring rules.
  • Build collisions, gravity, and jumping for a platformer.
  • Manage many objects with clones, reusable custom blocks, and lists.
  • Design, test, and tune a multi-level game with a difficulty curve.

Build real work

Assignments & capstone

Free tools accepted

Animated scene with game states

Build a Scratch project where sprites wander, animate with costume changes, and react to clicks or keys, then use broadcasts to move from a title screen to play to an ending while keeping a score on screen.

Scratch is free, needs no account, and runs in a web browser, so every lesson, exercise, and the capstone can be completed for $0 on any computer with a keyboard. Submit your project file, or screenshots with descriptions, or a short demo.

Platformer with hazards and pickups

Build a Scratch platformer where the player walks, falls with gravity, jumps only from the ground, and stops at walls, then add hazards and pickups with sound and score feedback, plus a goal that ends the level.

Scratch is free, needs no account, and runs in a web browser, so every lesson, exercise, and the capstone can be completed for $0 on any computer with a keyboard. Submit your project file, or screenshots with descriptions, or a short demo.

Final assessment

Multi-level Scratch game

Build a Scratch game with at least three levels and all eight requirements: title and endings, instructions, visible progress, collisions that matter, sound or animation, a custom block, clones, and rising or adaptive difficulty. Deliverables: Playable Scratch project with 3+ levels, Written test plan, run and fixed, Playtest notes and the fixes they led to, Project page with instructions and credits, and Two-minute presentation.

Prerequisites & pacing

Skills assumed

  • Comfortable using a mouse and keyboard and following multi-step instructions
  • A computer with a keyboard and an up-to-date web browser

Recommended prior courses

These are advisory, not locks. If you already have the skills listed above, enroll directly.

Choose your pace

  • self paced: 8 weeks at 3 hours per week
  • weekly: 8 weeks at 3 hours per week

Part of this learning path

Course created by Zafir Shamsi.