Professional Documents
Culture Documents
Scratch
Toolbox
Sprites & costumes Stage & backgrounds Conditions Loops Variables Broadcasting events Threads
Sprites
cats two sprites (how the sprite behaves) (what the sprite looks like)
Sprites have:
Scripts Costumes
Stage
Where all sprites are placed The stage can also have scripts
Useful
Statements
Booleans, Conditions
Loops
For
Until
Avoid this:
Much better!
Variables
Contain values
In
Variables: Scope
Global (stage + all sprites) Local (one sprite only) Who needs to use the variable?
Events
Broadcasting events
Threads
Simultaneous processes
HungryShark 0
Fish movement
HungryShark 1
Chomp, revisited
Score updates
HungryShark 2