Scratch: Animation and game programming Task 3: An ocean world
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. Add new costume for the Fish. Choose the Fish
3. Add new costume for the Box Choose the Box
4. Add sounds for the Box. Choose the Box
5. Add new background for the stage.
6. The Fish swims around and changes costumes. At script area of fish Use two block sets same sprite has two different actions at the same time.
7. Users press “space” key and the Box will open and play sound. At script area of box Which block can we use to let users press "space" key?
7. Users press “space” key and the Box will open and play sound. To play sound
Scripts
Scripts
Conclusion: What do we learn? 1. Basic setting How to add new sprite. 2. Add new costume for the Fish. 3. Add new costume for the Box How to add and edit costume.
Conclusion: What do we learn? 4. Add sounds for the Box. How to add sound. 5. Add new background for the stage. How to add background.
Conclusion: What do we learn? 6. The Fish swims around and changes costumes. How to use multi block sets.
Conclusion: What do we learn? 7. Users press “space” key and the Box will open and play sound. How to let user control animation.
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.