Activity : Knock Knock Joke, version 1
One of the powerful things you can do with Scratch it use it to tell stories. One of the challenges of programming Scratch to tell stories is to coordinate actions between the different sprites and even the stage. In this activity you will work with some existing code to see how we can use careful timing to tell a silly knock knock joke.
When put together with Knock Knock Joke, version 2 this pair of activities will explore different ways to program sprites to have conversations. You will experiment with timing and explore using broadcasts while making changes to a SILLY knock knock joke.
Press the green flag icon and watch the joke/story.
Look inside the project and review the code for Lisa, John, and the Stage (did you know that you can put code with the stage?)
Figure out how this code uses timing through wait blocks to coordinate all of the actions.
Press the button to remix this project.
Look at the costume tabs for both Lisa and John. Modify the program so that the sprites switch to laughing at the end.
Don't forget to adjust the code so they go back to their “normal” looks at the beginning of the program.
Notice that John also has a thinking costume. Modify the joke so that John thinks about the punchline for a few extra seconds before he says “Who's there?”
Make any additional changes you would like to make to the telling of this joke.
Things to think about when you are done
This project is based on materials from Dr. Ben Schafer at the University of Northern Iowa