tenSessionScratchL10A.ppt

Download Report

Transcript tenSessionScratchL10A.ppt

An intro to programming
concepts with Scratch
Session 10A
of 10 sessions
Final Exercises
Session 9 goals
•
•
•
•
Putting elements together
Teaching
Playing
Telling a good story
The top line is 10% longer, why?
Make a better script
• Ask the user for a number N
• Ask the user for a percentage P
• Find a new number that is P % larger than
N.
• Make lines for N and for N increased by P
percent.
• Why not make a line for N decreased by P
percent?
Other exercises
•
•
•
•
•
Dr Salehi has a good exercise
Use multiple sprites
Use multiple frames
How does it flow?
How to control the frames?
Continuing Challenge
Add some interesting features to
your work from last session (making
the letters of your name dance)
New features for initials sprites
• New behavior: random movement when ‘r’
typed
• Background music
• Layers: make initials move behind one another
by changing layers in the loop (see the
aquarium example)
Grand finale
• Final behavior when ‘X’ typed
• Some kind of final music
• Initials sprites arrange themselves in the
correct order and settle down!
Thanks for joining us
•
•
•
•
Dr George Stockman
Ms Meryl Mabin
Mr Ed Corcoran
Dr James Salahi