2. Let the Cat walk around.

Scratch:
Animation and game
programming
Task 1: A walking cat
Observation and discussion
• What can we observe from the demo?
• How to make it?
1. Basic setting
• How many sprite do we need?
• Give it/them name(s) and set rotation.
2. Let the Cat walk around.
• Which block can we use?
3. Let the Cat walk around
continuously by itself?
• Which block can we use?
4. Add a random factor.
• We can use
5. Change costume.
• Which block can we use?
6. Let the Cat walk slowly.
• We can use
Scripts
Conclusion: What do we learn?
• 1. Basic setting
– How to set sprite name and rotation.
• 2. Let the Cat walk around.
– Movement
– Rotation
– Bouncing.
Conclusion: What do we learn?
• 3. Let the Cat walk around
continuously by itself?
– How to repeat commands.
• 4. Add a random factor.
– Pick random
Conclusion: What do we learn?
• 5. Change costume.
– Costume changing command
• 6. Let the Cat walk slowly.
– Wait command
• P.S.1:Scratch is developed by the Lifelong Kindergarten
Group at the MIT Media Lab. See http://scratch.mit.edu.
• P.S.2:Materials are provided by Mr. CHENG Che Hung of
NLSI Lui Kwok Pat Fong College.