🐱 Scratch 编程
Scratch for Kids — 给小朋友的第一堂编程课

用积木做游戏、动画和故事

Make games, animations, and stories with blocks!

🎨 What is Scratch? — 什么是 Scratch?

🇨🇳 中文

Scratch 是一个免费的 programming 工具,是 MIT 麻省理工学院做的,专门给小朋友用。

你不用打字写代码!你只要像玩 LEGO 乐高 一样,把彩色的小方块拼在一起,就能做出 games、animations 和故事。

🇬🇧 English

Scratch is a free programming tool made by MIT, just for kids.

You don't type code! You stack colorful blocks together — like playing with LEGO — to make games, animations, and stories.

🌟 Cool Facts — 有趣的事实

  • Scratch 是 免费 的 — Scratch is free!
  • 有 1 亿 多个小朋友在用 Scratch — Over 100 million kids use Scratch!
  • 可以用 中文 — You can use it in Chinese
  • 不用安装,browser 里就能玩 — No install, just open your browser

🐱 Meet the Cat & Stage — 认识小猫和舞台

🇨🇳 中文

打开 Scratch 的时候,你会看到一只橙色的 小猫。这只猫的英语名字叫 Cat,也叫 Scratch Cat。

小猫站在一个白色的方块里,那个方块叫 stage(舞台)。你写的代码会让小猫在舞台上 move、talk、跳舞。

小猫这种会动的东西叫 sprite(角色)。你可以加更多角色 — 比如恐龙、宇宙飞船、苹果……什么都可以!

🇬🇧 English

When you open Scratch, you'll see an orange Cat. Its name is Scratch Cat.

The cat stands on a white box called the stage. Your blocks tell the cat to move, talk, and dance on the stage.

The cat is called a sprite. You can add more sprites — dinosaurs, spaceships, apples — anything!

你好!Hello!
🐱
👆 Click the cat — 点一下小猫

🌈 Block Colors — 积木的颜色

🇨🇳 中文

Scratch 的积木有 9 种颜色。每种颜色做不同的事情。记住颜色,你就知道每块积木是干嘛的!

🇬🇧 English

Scratch blocks come in 9 colors. Each color does a different job. Learn the colors and you'll know what each block does!

Motion移动 yídòng
Looks外观 wàiguān
Sound声音 shēngyīn
Events事件 shìjiàn
Control控制 kòngzhì
Sensing侦测 zhēncè
Operators运算 yùnsuàn
Variables变量 biànliàng
My Blocks我的积木

💡 Easy to remember — 容易记住

蓝色 = 走动 · 紫色 = 长相 · 粉色 = 唱歌 · 黄色 = 开始 · 橙色 = 控制

Blue = move · Purple = look · Pink = sound · Yellow = start · Orange = control

🚀 Your First Project — 你的第一个作品

🇨🇳 中文

我们来做一个简单的作品 — 让小猫说"你好",然后向前走 10 步。准备好了吗?

🇬🇧 English

Let's make a simple project — make the cat say "Hello" and walk 10 steps forward. Ready?

1

Open Scratch — 打开 Scratch

去 scratch.mit.edu,点 Create(创建)。

Go to scratch.mit.edu and click Create.

2

Drag the "When clicked" block — 拖一块"当绿旗被点击"

从 黄色 的 Events 类别里拖出这块积木:

▶ when 🚩 clicked

From the yellow Events category, drag out this block. 意思:当我点绿旗的时候,开始运行。

3

Add a "say Hello" block — 加一块"说 你好"

从 紫色 的 Looks 类别里,拖出"say"积木,接在下面:

▶ when 🚩 clicked
say for seconds

From the purple Looks category, drag out the "say" block. 你也可以把 Hello! 改成 你好!。

4

Add a "move 10 steps" block — 加一块"移动 10 步"

从 蓝色 的 Motion 类别里:

▶ when 🚩 clicked
say for seconds
move steps
5

Click the green flag! — 点绿旗!

点舞台上面的 🚩 绿旗。看看会发生什么!

Click the green flag 🚩 above the stage. Watch what happens!

🎉 你做出第一个程序了! — You made your first program!

You wrote 3 blocks. The cat said hello and walked. 这就是编程! That's programming!

🧩 Try It Right Here! — 在这里动手试试!

🇨🇳 中文

点左边的积木把它们加到右边,然后点 绿旗 ▶ Run 看小猫做什么!

🇬🇧 English

Click the blocks on the left to add them to the right side, then click green flag ▶ Run to see what the cat does!

🐱 Mini Scratch — 迷你 Scratch

👇 Click a block to add it / 点积木添加它
say "Hello!" for 2 sec
say "你好!" for 2 sec
move 60 steps →
move -60 steps ←
jump up! 🦘
grow bigger
shrink smaller
play sound: meow 🔊
wait 1 second
▶ when 🚩 clicked
Click blocks on the left →
从左边点积木加到这里
🐱

💡 Try this — 试试这个

1. Add "say 你好" → "move 60" → "jump" → click Run!

2. 加 "wait 1 second" 让小猫慢一点 — Add "wait" to make the cat slower

3. 把同样的积木加几次!— Add the same block many times!

🎮 Make a Game — 做一个小游戏

🇨🇳 中文

来做一个游戏:"接苹果" 🍎 — 小猫要接住从天上掉下来的苹果。

🇬🇧 English

Let's make a game: "Catch the Apple" 🍎 — the cat catches falling apples.

1

Add an Apple sprite — 加一个苹果角色

右下角点 Choose a Sprite(选择角色),找 Apple 🍎。

2

Apple falls forever — 苹果一直掉下来

给苹果加这些积木:

▶ when 🚩 clicked
forever
   go to x: y: 180
   glide 2 secs to x: same y: -150
end

意思:苹果一直从上面(y:180)掉到下面(y:-150)。

3

Cat follows the mouse — 小猫跟着鼠标

点小猫,给小猫加这些积木:

▶ when 🚩 clicked
forever
   set x to mouse x
end

现在小猫会跟着你的 mouse 左右走。

4

Catch the apple! — 接住苹果!

先在 橙色 的 Variables 里点 Make a Variable,做一个叫 score 的变量。

First, in the orange Variables category, click Make a Variable and name it score.

⚠️ 不要把它加到刚才"掉下来"的那堆积木里!给苹果再做一堆新的积木 — 再拖一块"当绿旗被点击 🚩",像这样:

Don't add this to the falling stack! Give the apple a second, separate stack — drag out another "when 🚩 clicked":

▶ when 🚩 clicked
forever
   if touching Cat? then
      say "Yum!" for 1 sec
      change score by 1
   end
end

意思:电脑一直检查 — 如果苹果touching小猫,就说 "Yum!"(好吃!),score 加 1。

🤔 为什么要做两堆积木? — Why two separate stacks?

因为 glide(滑行)积木会让第一堆积木"忙着让苹果往下掉",那 2 秒里它不会去看有没有碰到小猫。所以要分开做两堆:一堆让苹果掉,另一堆一直一直检查有没有接住 — 两堆同时运行!

The glide block keeps the first stack busy for 2 whole seconds, so it can't check for the cat during the fall. A second stack runs at the same time and checks every moment. Scratch runs many stacks together! 🎉

🍎 小提示:在 if 里面再加一块 go to y: 180,接到的苹果就会马上回到上面再掉一次! — add go to y: 180 inside the if so a caught apple jumps back to the top.

🏆 You made a game! — 你做出了一个游戏!

Show your family! 给爸爸妈妈看看!

🎁 Download & Play — 4 个做好的游戏,下载就能玩

🇨🇳 中文

这里有 4 个做好的 Scratch 游戏。点 ⬇ 下载 把 .sb3 文件存到电脑,在 Scratch 里打开就能玩 —— 还能点 See inside(看里面)改积木,做成你自己的!

🇬🇧 English

Here are 4 finished Scratch games. Click ⬇ Download to save the .sb3 file, open it in Scratch, and play — then click See inside to change the blocks and make it your own!

🍎 Catch the Apple
接苹果(你刚做的那个!)
Move the cat with your mouse and catch the falling apple — the game from this page!
用鼠标移动小猫,接住掉下来的苹果 —— 就是本页教的游戏!
🐱 Click the Cat
点小猫(打地鼠玩法)
The cat pops to a new spot every second — click it fast to score!
小猫每秒跳到一个新地方,手快点中它就得分!
🏓 Bounce the Apple
弹苹果(弹球玩法)
Use the cat as a paddle (mouse moves it) and bounce the apple — +1 each hit.
用小猫当球拍(鼠标控制),把苹果弹回去 —— 每弹一次 +1 分。
🏃 Dodge the Apples
躲苹果(方向键玩法)
Use the ← → arrow keys to dodge the falling apple. Survive longer = more points!
用 ← → 方向键躲开掉下来的苹果,活得越久分越高!

📂 How to open it — 怎么打开 .sb3

1️⃣ 打开 scratch.mit.edu,点 Create(创建)。
2️⃣ 点左上角 File 文件 → Load from your computer 从电脑上传。
3️⃣ 选你下载的 .sb3 文件。
4️⃣ 点绿旗 🚩 开始玩!想改的话,积木就在右边。

1) Open scratch.mit.edu → Create. 2) File → Load from your computer. 3) Pick the .sb3 you downloaded. 4) Click the green flag 🚩 to play — the blocks are right there to change!

📚 Cool English Words — 酷酷的英语单词

🇨🇳 中文

玩 Scratch 的时候,你会一直看到这些英语词。点单词听发音!🔊

🇬🇧 English

You'll see these English words all the time in Scratch. Click any word to hear it!

sprite 🐱
角色(jué sè)
A character on the stage — the cat, an apple, a ball.
舞台上会动的东西,比如小猫、苹果、球。
stage 🎭
舞台(wǔ tái)
The white area where sprites move.
小猫表演的那个白色方块。
block 🧱
积木(jī mù)
A colorful piece you stack to make code.
彩色的小方块,拼起来就是代码。
code 💻
代码(dài mǎ)
The instructions you give the computer.
你给电脑的命令。
move 🏃
移动(yí dòng)
To go from one place to another.
从一个地方走到另一个地方。
click 👆
点击(diǎn jī)
To press a button with your mouse.
用鼠标按一下。
run ▶
运行(yùn xíng)
To start your program.
开始你的程序。
loop 🔁
循环(xún huán)
Doing the same thing again and again.
一直重复做同样的事。
forever ♾
永远(yǒng yuǎn)
Never stop — keep going!
一直一直,不停下。
if ❓
如果(rú guǒ)
Only do this when something is true.
只有……的时候才做。
when ⏰
当(dāng)
At the moment something happens.
在某个事情发生的时候。
touching ✋
碰到(pèng dào)
When two things touch each other.
两个东西碰在一起。
score 🏆
分数(fēn shù)
Points you get in a game.
玩游戏的时候得到的分。
costume 👕
造型(zào xíng)
A different picture for a sprite.
角色不同的样子。

🌐 Where to Play — 去哪里玩

🇨🇳 中文

Scratch 不用下载,电脑上有 browser(Chrome、Edge)就可以玩。

🇬🇧 English

You don't need to download Scratch. Just open a browser on your computer (Chrome, Edge) and you can play right away.

🌍 scratch.mit.edu
官方网站
The official Scratch website. Free! Click Create to start.
官方网站,完全免费!点 Create(创建)就能开始。
📱 Scratch Junior
小小孩用的 (5–7 岁)
For younger kids (5–7). Free app on iPad and Android.
给更小的小朋友玩(5–7岁),平板电脑下载免费 APP。
💾 Scratch Desktop
没有网络也能玩
Download to your computer — works without internet.
下载到电脑上,没有 Wi-Fi 也能玩。

👨‍👩‍👧 For Parents — 给爸爸妈妈

Scratch 是安全的:免费,没有广告,没有应用内购买。账号需要 email(爸爸妈妈帮忙注册)。

Scratch is safe: Free, no ads, no in-app purchases. Account needs an email (parents can help sign up).