انتقل للمحتوى
Robo EgyptRobo Egypt
☰ Course contents
Robo Block: home
0. Lab tour1
1. Getting started5
2. Motion5
3. Looks and sound5
4. Events4
5. Loops5
6. Conditions and sensing4
7. Variables and randomness4
8. Project: the “Catch Robo” game3
9. Messages: characters talk to each other4
10. Clones: one character, many copies4
11. My Blocks: make a new block3
12. Operators and time4
13. The pro project: a jumping game4

Costumes and size

Section 3: Looks and soundLesson 3.2 · ⏱ 6 min

Every character has more than one costume, like pictures in a row. Switching between them quickly makes movement, like a cartoon.

Blocks: when 🚩 clicked, repeat (6), set size to (150) %
🖥️ What happens on the stage?
Robo switches his costume 6 times so he seems to be waving, then grows to 150% of his size.
📌 Note
You will learn the repeat block in detail in the loops section. Here it repeats the two blocks inside it 6 times.

📌 Another example: Robo grows

He starts small (50), and each time he grows by 25 until he reaches 150.

Blocks: when 🚩 clicked, set size to (50) %, repeat (4), say (I've grown! 💪) for (2) seconds
Small
Small
Grown
Grown
✍️ Practise
Try different sizes: 30, then 200, then 100, and watch Robo each time.
✍️ Practise here in the lessonor open the lab in a new page ↗

🎯 Challenge yourself

Easy

Make Robo hide for one second, then show himself and say “Here I am! 👋”.

👀 Show the solution
Blocks: when 🚩 clicked, hide, wait (1) seconds, show, say (Here I am! 👋) for (2) seconds
The result on the stage
The result on the stage
Medium

Make Robo shrink to 50, then after a second go back to his size of 100.

👀 Show the solution
Blocks: when 🚩 clicked, set size to (50) %, wait (1) seconds, set size to (100) %
Back to 100
Back to 100
Hard

Make Robo blink 3 times (hide and show), then grow to 130.

👀 Show the solution
Blocks: when 🚩 clicked, repeat (3), set size to (130) %
He blinked, then grew
He blinked, then grew
Finished the lesson? Mark it so your progress counts.