Because every student should have the opportunity to learn how to code

User Tools

Site Tools


lev2:act_knockknockv1_s

Activity : Knock Knock Joke, version 1

Ninja Instructions | Mentor Notes

Introduction

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.

Duration

15-30 minutes

Instructions

  1. Locate the story for Knock Knock Joke, Version 1 at: http://scratch.mit.edu/projects/46302340/
  2. Press the green flag icon and watch the joke/story.
  3. 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?)
  4. Figure out how this code uses timing through wait blocks to coordinate all of the actions.
  5. Press the button to remix this project.
  6. 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.
  7. 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?”
  8. Make any additional changes you would like to make to the telling of this joke.

Things to think about when you are done

  • In what situations did you need to modify the timing? What was hard about making that change?
  • In what situations would you use timing in a project?

Credits

This project is based on materials from Dr. Ben Schafer at the University of Northern Iowa

lev2/act_knockknockv1_s.txt · Last modified: 2015/09/19 13:47 by jbschafer