Welcome to Code Club

Welcome to Code Club
You are going to be
telling the computer
what to do!
What level will you get to?
This session
• Working on Felix and Herbert game
• Beginning Whack a Witch
Felix and Herbert: Where did you get to?
•
•
•
•
•
•
•
•
Felix moves left-right and follows mouse
Add Herbert
Herbert moves left-right
Herbert moves with mouse
Felix says when he’s caught Herbert
Broadcast to program when caught
Herbert turns into a ghost when he’s caught
Keep score
Tips for Felix and Herbert
Leave the look say
block in STEP 4
Use shrink or grow
button to make a sprite
bigger or smaller
Process
Whack a Witch
•
•
•
•
Create a flying witch
Make the witch appear and vanish randomly
Make the witch disappear when she’s clicked
Add a score and timer
New skills:
• set a variable
• make a loop
• keep and set the score
Challenge: Add more witches
Tips for Whack a Witch
Make sure when you make variable
SPEED it is for this sprite only
Uncheck speed so that it doesn’t show
on the stage
When you add timer you will need to:
•set timer to 30
•change timer by -1
What was most fun?
What was easy?
What was difficult?
How did you sort out the difficult bits?
Star coder this week:
Next week: Fireworks