Scratch: Animation and game programming Task 5: A horse and a lion
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. Prepare costumes.
2. Let the Lion move. In script area of lion Build blocks to let the Lion move. Add blocks to let the Lion say "GOOD" when it catches the Horse.
3. Let the player control the Horse. In script area of horse Which two blocks can we use to control the Horse move upwards?
3. Let the player control the Horse. Which one is better? Why? The Horse moves upwards. The Horse is caught. The Horse moves upwards. The Horse is caught.
3. Let the player control the Horse. Also control "up", "down", "left" and "right". Let the Horse look like moving. Let the Horse say "OH NO !" when being caught.
Scripts
Scripts
Scripts
Conclusion: What do we learn? 1. Basic setting How to add sprites, set costumes and edit costumes. 2. Let the Lion move. How to set commands.
Conclusion: What do we learn? 3. Let the player control the Horse. Directions How to build blocks logically.
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.