There is a recognizable shape to the search query how to make a Scratch platformer: a beginner using MIT Media Lab’s free visual-programming editor has worked through enough Scratch tutorials to get a sprite moving with the arrow keys, and now wants the next thing every platformer needs — gravity that pulls down, a jump that goes up, a ground that stops the fall, and sprites that look better than the default cat. The honest answer comes in two halves. The first half is pure Scratch: a tiny script using a Yvel variable, a custom block with run without screen refresh ticked, and a touching-color ground check. The second half is the asset side that Scratch leaves open: AI-generated hero sprites with proper walk cycles, a real pixel palette instead of stretched clip art, and a music loop that does not come from a free SFX site that flagged your school’s firewall. Below is the full pipeline (verified 2026-06-07 against the Scratch Wiki canonical platformer references and Sorceress source code) that turns the cat-jumps-on-a-floor demo into something that looks and sounds like a real game.
What “How to Make a Scratch Platformer” Really Means in 2026
Before the code, the terms. Scratch is a free visual-block programming language and online community developed by MIT Media Lab in 2007, currently on version 3.0, with a browser-based editor that snaps coloured blocks together to drive sprites on a 480-by-360 stage. A platformer (short for platform game) is the side-view genre defined by a character that jumps from platform to platform while gravity pulls it back to the ground — the side-view tradition that runs from Donkey Kong through Super Mario Bros. through Sonic the Hedgehog through Celeste and Hollow Knight. The platformer-in-Scratch search slot covers the intersection: how to make a Scratch platformer that actually feels like a real platformer (gravity, jump, ground collision, hazards, scrolling) instead of a sprite that teleports up when the arrow key is pressed.
Two things separate a beginner Scratch platformer from one that feels right. The first is the physics: gravity must accumulate over time, jumps must arc instead of snap, and the ground check must run inside a custom block with the run without screen refresh flag ticked so the sprite never falls through the floor between frames. The second is the art: the default Scratch cat works as a placeholder, but a Scratch platformer with a proper hero sprite (recognizable silhouette, walk cycle that loops on four frames, palette-locked colours that read clearly against the background) feels eight steps closer to a real game with no extra code. The pipeline below covers both halves.
The Tools You Actually Need to Make a Scratch Platformer
One platform, four AI helpers, zero installs.
- Scratch 3.0 (free, browser-based, MIT Media Lab) — the visual-block editor where the game itself lives. Open a new project, the stage and the block palette load in any modern browser, and the “Upload Sprite” button at the bottom-right of the stage accepts PNG, JPG, GIF, and SVG files up to a couple of megabytes (PNG with a transparent background is the format that drops in cleanest, verified 2026-06-07 against the Scratch User Guide on Science Buddies and the Scratch Wiki sprite-import canonical refs).
- Sorceress AI Image Gen at /generate — type a one-sentence prompt for the hero character (style, palette, pose, mood), pick a 1:1 aspect ratio at 1024 by 1024, and let the model render a clean side-view reference. This is the source image that the next two tools convert into a Scratch-ready PNG sprite.
- Sorceress True Pixel at /pixel-art — the browser pixelizer that takes the AI-rendered character and converts it to a real pixel-art sprite locked to one of eight retro palettes (PICO-8 16, SWEETIE-16, Endesga 32, Game Boy, CGA, NES 54, Grayscale 8, 1-Bit; verified against
src/app/pixel-art/page.tsxon 2026-06-07). True Pixel handles the downscale, the edge cleanup, and the optional dithering pass; it outputs a transparent-background PNG that drops straight into Scratch’s “Upload Sprite” pipeline. - Sorceress Quick Sprites at /quick-sprites — the walk-cycle generator that takes the pixelized hero and produces a four-direction four-frame walking animation (48 by 48 pixel grid) or a six-row Small Sprites sheet (32 by 32 with right, left, arms, look, surprise, lay down). Each generation runs the Retro Diffusion
rd-animationmodel at nine credits per generation, verified againstsrc/app/quick-sprites/page.tsxlines 18 through 48 on 2026-06-07. The output is a sprite sheet PNG you can split into individual frames inside Scratch’s Costumes tab. - Sorceress Music Gen at /music-gen plus Sound Studio at /sound-creator — two browser tools that handle the audio half of a Scratch platformer: Music Gen produces a looping background track from a text prompt, Sound Studio generates short SFX clips (jump, land, hit, coin) ready to drop into Scratch’s Sounds tab.
- Sorceress Pixel Snap at /spritely — the optional bridge tool that converts any uploaded character image into a Scratch-ready transparent PNG in one step, useful when you already have a hero illustration and want to skip the AI-generation step.
The full Sorceress stack starts at the free signup tier (100 starter credits, verified against the Sorceress home hero on 2026-06-07), which covers roughly the first ten Quick Sprites generations plus the True Pixel and AI Image Gen runs needed to ship one playable Scratch platformer. After the starter credits, the credit packs at ten dollars for 1,000 credits never expire and never auto-renew — a hard-stop credit model that suits the one-project-at-a-time rhythm of a school assignment or a weekend Scratch jam.
Step 1 — Generate Your Hero Sprite With AI (AI Image Gen plus True Pixel)
The cat sprite that ships with Scratch is iconic but generic; every Scratch platformer that uses it looks like every other Scratch platformer. The first real upgrade is a hero character that belongs to your game.
Open /generate in a new browser tab. In the prompt box, describe the hero character in one sentence: appearance, palette mood, view angle, action stance. Two prompts that consistently work for platformer heroes:
- “Side-view pixel-art hero character, lavender cloak, brown boots, idle stance, transparent background, retro game aesthetic, 1024 by 1024 square format.”
- “Side-view chibi knight character, blue armor, red plume, sword at side, idle stance, transparent background, NES-style palette, 1024 by 1024 square.”
Pick a 1:1 aspect ratio (Scratch sprites work best as squares because rotation transforms cleanly around the center pixel). Generate; the model returns a clean illustration. If the first roll does not match what you pictured, refine the prompt (palette name, art style, pose) and roll again — AI Image Gen renders are fast enough that three rolls take less than a minute. Save the chosen PNG to your computer.
Now open /pixel-art in another tab. Drag the saved PNG into the True Pixel upload zone. The tool reads the image, downscales it to a pixel grid (default 48 by 48, adjustable up to 128 by 128), and asks you to pick a palette. The palette choice matters more than beginners expect: a 16-colour PICO-8 palette reads cleanly on a Scratch stage at any scale, a 32-colour Endesga 32 palette gives you more painterly depth, and the Game Boy four-colour palette produces the classic monochrome look that some Scratch platformer styles lean into deliberately. Pick one, preview the result, optionally enable the dithering pass to smooth gradients, and export the final PNG. The output is a transparent-background sprite locked to the chosen palette, ready for the next step.
The end-to-end time from AI Image Gen prompt to True Pixel export is about four minutes the first time you do it, two minutes once you have the rhythm. The credit cost is about three credits for the AI Image Gen render and one credit for the True Pixel pass, so about four of the 100 starter credits per hero variant. That is cheap enough to roll three or four candidates and pick the strongest one.
Step 2 — Build a Four-Direction Walk Cycle in Quick Sprites
The static hero PNG from Step 1 works for the title screen and for a single still pose on the platformer stage. To make the hero actually walk, the platformer needs a multi-frame animation: a four-frame walk cycle that loops as the player holds an arrow key, plus an idle pose for when the player is standing still.
Open /quick-sprites in your browser. Drag the True Pixel hero PNG from Step 1 into the upload zone. Pick the animation style: Four Angle Walking produces a 48-by-48 pixel grid with four frames of walking animation in each of four directions (up, right, down, left), which is the right choice for a top-down or three-quarter-view Scratch platformer. Small Sprites produces a 32-by-32 grid with six rows (right, left, arms, look, surprise, lay down), which suits a side-view platformer where you do not need up and down directions. Pick the style that matches your game’s camera angle.
Quick Sprites runs the Retro Diffusion rd-animation model at nine credits per generation (verified against src/app/quick-sprites/page.tsx CREDITS_PER_GEN constant on 2026-06-07). The output is a single sprite-sheet PNG with all frames laid out on a grid — for Four Angle Walking, that is a 192-by-192 sheet (four columns of 48 by 48 frames in four rows). Download the sheet.
Now import the sheet into Scratch. Open your Scratch project, hover over the “Choose a Sprite” cat icon at the bottom-right of the stage, click “Upload Sprite” (the up-arrow icon), and select the Quick Sprites PNG. The sheet imports as a single sprite. Switch to the Costumes tab on the new sprite, and use the rectangle marquee plus duplicate workflow to split the sheet into individual costumes: select the first 48-by-48 frame, copy it, paste as a new costume, repeat for each frame in the walk cycle. Name the costumes walk-right-1, walk-right-2, walk-right-3, walk-right-4, then repeat for the other three directions. Twelve to sixteen costumes per hero is normal.
The walk-cycle script in Scratch is then tiny:
when [right arrow v] key pressed
forever
switch costume to (walk-right-1 v)
wait (0.08) seconds
switch costume to (walk-right-2 v)
wait (0.08) seconds
switch costume to (walk-right-3 v)
wait (0.08) seconds
switch costume to (walk-right-4 v)
wait (0.08) seconds
end
Roughly 0.08 seconds per frame at four frames produces a 0.32-second walk cycle, which is the canonical loop length for a side-view walk cycle in most 2D platformers. Adjust the wait value down for a faster sprint, up for a heavier slower walk.