Title: Programming in Scratch
1Welcome to
Computer Game Development Laboratory Scratch
Modules
www.build-it-yourself.com
2Series and Parallel ExecutionPut on your socks.
Then Put on your shoes.Take a shower.At the
same time,Brush your teeth.
www.build-it-yourself.com
3IterationBreath.
www.build-it-yourself.com
4Conditional StatementsIf there is candy on the
plate, keep eating!If not, ask for more!
www.build-it-yourself.com
5VariablesThe score in a game.
www.build-it-yourself.com
6MessagesWhen you are hungry, call the pizza
shop.
- Broadcasting messages allows communication
between sprites and the stage. For example you
may want to change a background color or costume
when the space bar is pressed.
www.build-it-yourself.com
7Modular Programming1) Create solutions
quickly.2) Simplify solutions.3) Edit solutions
quickly.4) Make solutions more reliable.
Spaghetti Code
Ordered Code
www.build-it-yourself.com
8Program Structures1) Sequence vs. Parallel2)
Iteration3) Conditional Statements4)
Variables5) Messages6) Modular Programming
In many ways, a computer works just like your
brain!
www.build-it-yourself.com