Leap How to Make a Platformer on Scratch (Exit Path)

By Arron R.7 min read
How to make a platformer on Scratch starts with separate gravity, ground, and jump scripts on one screen. When the stage blocks your jam, port the same feel car

Costume packs do not fix a floaty jump. Readers searching how to make a platformer on Scratch need a written feel card, separate forever scripts for gravity, ground, and jump, and a one-screen playtest before scrolling or enemies. This exit path keeps that Scratch feel, then ports the same numbers into WizardGenie with Quick Sprites and SFX Gen when the stage stops fitting the jam. Scratch product facts were re-checked against the official About Scratch page on July 28, 2026. Phaser version facts were re-checked against phaser.io the same day.

How to make a platformer on Scratch exit path from feel card to WizardGenie sprites and SFX
Lock the feel card on Scratch, prove it on one screen, then port the same numbers into a browser loop with readable sprites and short cues.

What how to make a platformer on scratch must lock first

DataForSEO lists how to make a platformer on scratch at 1,900 monthly searches with KD 0 in research-supplement.md (verified for this brief; citation re-checked July 28, 2026). Sibling phrases such as how to make a platformer in scratch, how to make a platformer scratch, and scratch how to make a platformer game sit in the same volume band. A longer "game in Scratch" sibling already covers the classroom build in depth at how to make a platformer game in Scratch. This article keeps the on Scratch wording and spends more pages on the exit when the stage blocks shipping.

Scratch is a free creative coding environment from the Lifelong Kindergarten Group at the MIT Media Lab, designed especially for ages 8 to 16 and used in more than 150 countries. A platform game is defined by traversal across suspended ground, with jumping as the central skill. Translate that into a feel card before any fancy costumes:

  • Run speed: steps per frame while left or right is held.
  • Jump impulse: the upward change to vertical velocity when a jump starts.
  • Gravity: the downward change applied every frame while airborne.
  • Grounded flag: true only when feet touch a platform color or sprite.
  • Max fall speed: a clamp so long drops stay readable.
  • Hazard rule: what kills the player and where respawn restores control.

If you cannot fill that card, keep designing. A project that only says "make a fun platformer" invents a different jump on every remix. How to make a platformer on Scratch starts as numbers, not as a costume wardrobe.

Split gravity ground and jump scripts

The core mistake in how to make a platformer on Scratch is stuffing move, fall, and jump into one forever stack. Split them so each forever loop owns one rule.

Gravity script: if not grounded, change vy by a small positive amount (down), clamp to max fall speed, then change y by vy. Do not apply gravity while grounded or the character will vibrate into the floor.

Ground script: sense the platform with color touching or sprite touching under the feet. When contact is true, set grounded to true, set vy to 0, and snap y up a pixel so the costume does not sink. When contact is false, set grounded to false. Keep the sensing hitbox at the feet, not the whole costume, or hair pixels will count as ground.

Jump script: when the jump key is pressed and grounded is true, set vy to a negative impulse. Optional coyote time: keep a short timer after leaving a ledge during which jump still works. Optional jump buffer: remember a premature press for a few frames and fire on the next grounded edge.

Horizontal move stays in a fourth forever loop: if right arrow, change x by run speed; if left, change x by negative run speed. Finish floor feel before wall slides. MDN's guide to 2D collision detection explains why axis-aligned boxes remain the practical default for rectangles that do not rotate—the same idea behind color-touching "feet" tests on Scratch.

Separate gravity, ground, and jump scripts for how to make a platformer on Scratch
One forever loop per rule makes floaty jumps and false landings obvious instead of hiding them in a mega-stack.

One-screen playtest checklist

Do not scroll yet. Build three platforms and one pit on a fixed stage. Play for five minutes with the feel card visible. Mark each line only when it is boringly reliable:

  1. Walk left and right until the run speed feels dull. Dull is good.
  2. Jump from flat ground ten times. Peak height must match the card.
  3. Walk off a ledge and press jump inside coyote time — must jump.
  4. Walk off a ledge and press jump after coyote expires — must fail.
  5. Press jump slightly before landing — buffer must fire on touch.
  6. Fall into the pit — respawn restores position and clears velocity.

If any line fails, change one number or one script. Do not add enemies, scrolling, or double jump while the checklist is red. How to make a platformer on Scratch succeeds when the one-screen loop survives remix stress, not when the backdrop looks finished.

When Scratch stage limits block the jam

Scratch remains the right classroom for how to make a platformer on Scratch. Exit when your next goal is outside what block projects are built to ship. Common triggers:

  • You need ordinary PNG sprite sheets and frame metadata instead of costume packs.
  • You want frame-timed coyote and buffer windows that stay stable across machines.
  • You need a share link on itch, GitHub Pages, or a jam site that expects a browser build.
  • Art and audio iteration is slower than the feel iteration you already finished.
  • Scrolling camera math starts fighting ground sensing on every remix.

Do not throw away the Scratch project. Screenshot the feel card: run speed, jump impulse, gravity, max fall, hazard rule, and spawn point. That card is the product. The AI exit rebuilds the product on a different runtime; it does not invent a new genre. For a browser-first sibling that never starts in Scratch, see how to make a platformer in the browser.

Port the feel card into WizardGenie

Open WizardGenie on desktop or web. Lead with the contract, not the theme. A useful first prompt is:

Build a browser side-view platformer on one screen. Player run speed 160, jump velocity -420, gravity 1200, max fall speed 600, coyote time 100 ms, jump buffer 100 ms. Use axis-aligned boxes for the player and platforms. Include left/right and jump on keyboard, a grounded flag, coyote and buffer timers, one spike hazard that respawns the player at a marked spawn, and a small debug strip showing grounded, coyote remaining, and buffer remaining. Use colored rectangles only. No inventory, no enemy AI, no menu.

WizardGenie writes, runs, and iterates on the game in real time. Bring your own API key or use the trial path exposed in the product. Model choices in the current Sorceress catalog include Claude Opus 4.7, Claude Sonnet 4.6, GPT-5.5, Gemini 3.1 Pro, DeepSeek V4 Pro, Kimi K2.5, Grok 4.2, and MiniMax M2.7 (verified against CODING_MODELS in src/app/_home-v2/_data/tools.ts on July 28, 2026). Prefer a strong planner for the first scaffold and a cheaper fast model for tiny feel tweaks so iteration stays cheap. Never put a frontier-priced model on every micro edit.

If you want Phaser specifically, pin a real version. As of July 28, 2026, the stable release on phaser.io/download/stable redirects to Phaser v4.2.1 "Giedi" (released July 9, 2026). Name that version in the prompt when you care about Arcade Physics body behavior. The Sorceress tools guide lists adjacent asset tools, but this exit path only needs the three featured tools below.

WizardGenie feel-card port with Quick Sprites sheets and SFX Gen cues
Port the numbers first. Swap sheets and cues only after the gray box matches the Scratch jump you already trust.

Swap costumes for Quick Sprites sheets

Only after the gray box matches your Scratch feel card should you replace rectangles. Open Quick Sprites and generate a small player set: idle, walk, jump, fall. Keep the silhouette family identical across those frames. Then generate one hazard family with a taller, sharper outline than the player so threat reads before contact.

CREDITS_PER_GEN is 9 and the model id is retro-diffusion/rd-animation in src/app/quick-sprites/page.tsx (verified July 28, 2026). Batch size defaults to 1, so one Generate click is nine credits when billing succeeds. Prefer Four Angle Walking at 48x48 for classic directional walks, or Small Sprites at 32x32 when you want denser gesture rows. Leave return-as-spritesheet on. Export the sheet, then verify each frame at the on-screen pixel size you actually use—not at editor zoom.

A practical player prompt is "16-bit side-view adventurer, readable silhouette, idle walk jump fall, transparent background, game sprite sheet, no text." A practical hazard prompt is "16-bit metal spike cluster, sharp triangular silhouette, transparent background, single frame." If feet slide after the swap, fix pivots or regenerate—do not stretch frames in a paint app and pretend the feel card still holds.

Cue jump land hurt in SFX Gen

Open SFX Gen and generate three short cues: jump (soft rising tick), land (low thud under 200 ms), and hurt (sharp hit without long reverb). Keep them dry. Wire sounds to state transitions, not raw button presses: jump audio fires when the impulse is applied, land audio on the grounded false→true edge after a fall, hurt audio once when death lockout begins.

SFX Gen bills 1 credit per second of finished audio (minimum 1), charged only on success, using BytePlus Seed Audio 1.0 (src/lib/sorceress-tools/audio/sfx.ts, verified July 28, 2026). A three-second jump tick costs about three credits. Do not generate ten-second cinematic whooshes for a jam platformer—short cues teach the player more than lush tails.

Finish with the same matrix on the browser build:

  • Coyote jump still works after the sprite swap.
  • Buffer still fires on late presses.
  • Spike lockout plays hurt once and restores spawn cleanly.
  • Land cue never double-fires on flat ground vibration.

That is the complete path for how to make a platformer on Scratch and then leave cleanly: lock the feel card in blocks, prove it on one screen, port the same numbers when the stage limits the jam, swap costumes for Quick Sprites sheets, and cue jump, land, and hurt in SFX Gen. Everything else is content.

Frequently Asked Questions

What must you lock first for how to make a platformer on Scratch?

A feel card: run speed, jump impulse, gravity, grounded flag, max fall speed, and hazard/respawn rules. Write those numbers before costumes. Split gravity, ground, and jump into separate forever scripts so you can debug one rule at a time on a single screen.

Why split gravity, ground, and jump when learning how to make a platformer on Scratch?

A combined forever stack hides which rule failed. Gravity pulls when not grounded, ground sensing sets the grounded flag and clears vertical velocity, and jump only fires when grounded or during a short coyote window. Separate stacks make floaty jumps and false landings obvious.

When should you leave Scratch for a browser exit?

Exit when you need ordinary PNG sprite sheets, stable millisecond coyote/buffer windows, itch or GitHub Pages hosting, or faster art and audio iteration than costume packs allow. Keep the same feel-card numbers and rebuild them in WizardGenie instead of inventing a new game.

Which Sorceress tools replace Scratch costumes and sounds on the exit path?

Quick Sprites generates readable player and hazard frames at 9 credits per generation (CREDITS_PER_GEN verified July 28, 2026). SFX Gen adds short jump, land, and hurt cues at 1 credit per second of finished audio. WizardGenie writes and runs the browser loop so those assets plug into a playable stage.

Do I need Phaser to finish how to make a platformer on Scratch and then exit?

No. Scratch teaches the feel. For the browser exit, pin a real runtime when physics matter. As of July 28, 2026, Phaser v4.2.1 Giedi (released July 9, 2026) is the stable release on phaser.io. Name that version in WizardGenie prompts if you care about Arcade Physics body behavior.

Sources

  1. About Scratch — Scratch Help
  2. Platform game — Wikipedia
  3. 2D collision detection — MDN Web Docs
  4. Download Phaser v4.2.1 — Phaser
Written by Arron R.·1,668 words·7 min read

Related posts