Make a Platformer Game in Scratch for Kids

Ready to make a platformer game in Scratch? You will build a hero that runs, jumps on platforms, and collects coins. This is one of the best Scratch projects for kids who love adventure games.

Project goal

By the end, you will have:

  • Left/right movement
  • Jumping with gravity
  • Solid platforms
  • Coins + a score

Step 1: Stage and hero

  1. Create a new Scratch project.
  2. Pick a hero sprite (ninja, cat, robot — your call).
  3. Paint a few platform costumes or use rectangle sprites named Platform.

Step 2: Left and right movement

when green flag clicked
forever
  if <key right arrow pressed?> then
    change x by 6
  end
  if <key left arrow pressed?> then
    change x by -6
  end
end

Step 3: Jumping + gravity

Create a variable yspeed for the hero.

when green flag clicked
set yspeed to 0
forever
  change y by yspeed
  change yspeed by -1
  if <touching Platform?> then
    change y by 2
    set yspeed to 0
    if <key space pressed?> then
      set yspeed to 12
    end
  end
end

This is a simple gravity trick many Scratch platformers use. Tweak numbers until jumping feels right.

Step 4: Coins and score

  1. Add coin sprites around the level.
  2. Make a score variable.
  3. When the hero touches a coin: change score by 1, then hide the coin.

Step 5: Finish line

Add a flag sprite. If the hero touches it and score is high enough, show “You win!” and stop the game.

Design tips for kids

  • Start with 3 platforms, not 30
  • Make jumps fair (not impossible)
  • Add background music at low volume
  • Test on a friend’s computer too

What you learned

You built player controls, gravity, collisions, and scoring — the core of platformer games. Combine this with your Flappy Bird skills and you can invent brand-new Scratch games.

Next Post Previous Post
No Comment
Add Comment
comment url