Scratch : Animation and game programming Task 6: Space travel
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 each star move up and down. In script area of each star. Let stars move up and down. They can also move in different speeds.
3. Let the player control the Alien. In script area of alien Which block can we use for the Alien to follow the player’s mouse?
3. Let the player control the Alien. Build blocks to let the player use the mouse to control the Alien. Remember to change the Alien's costume.
4. change costumes when the Alien crashes stars In the script area of alien Which one is better? Why? Change costume
Scripts
Conclusion: What do we learn? 1. Basic setting – How to add sprites, set costumes and edit costumes. 2. Let each star move up and down. – How to set commands.
Conclusion: What do we learn? 3. Let the player control the Alien. – How to set mouse control. 4. Change costumes when the Alien crashes stars. – Operator “OR”
P.S.1 : Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. See P.S.2 : Materials are provided by Mr. CHENG Che Hung of NLSI Lui Kwok Pat Fong College.