Download presentation
Presentation is loading. Please wait.
1
Scratch: Animation and game programming
Task 9: Changing style
2
Observation and discussion
What can we observe from the demo? How to make it?
3
1. Basic setting How many sprite do we need?
Give it/them name(s) and set rotation. Prepare costumes.
4
2. Change clothes. In the script area of the button to change clothes.
We can use "broadcast" to give message from one sprite to another. Message name:clothes
5
2. Change clothes. In the script area of the Clothes.
Which block can we use to receive message?
6
3. Change trousers. In the script area of the button to change trousers (button2 ) Give message Message name:trousers In the script area of trousers Receive message.
7
4. Change backgrounds. Prepare different backgrounds.
Prepare a button to change background: button3﹝Name﹞ In the script area of the button to change background, build blocks. In the script area of the stage, build blocks.
8
5. Change costumes and backgrounds randomly.
Prepare a button for random change button4﹝Name﹞ In the script area of the button for random change, build blocks. In the script areas of other sprites, build blocks.
9
Scripts
10
Scripts
11
Scripts
12
Conclusion: What do we learn?
1. Basic setting How to add sprites, set costumes and edit costumes. 2. Change clothes. 3. Change trousers. “Broadcast” “When I receive”
14
Conclusion: What do we learn?
4. Change backgrounds. 5. Change costumes and backgrounds randomly. Set commands.
15
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.