This document provides instructions for students to create programs in Scratch involving interactions between characters. Students will learn to sequence instructions, synchronize timings using wait commands, and incrementally develop projects. They will create programs telling knock knock jokes, mimicking a comedy night with comedians walking on and off stage, and will start using event blocks next week. The document also includes review questions about ensuring programs work properly.
2. Starter Activity: “Knock, Knock”
Use the Internet to find a “Knock, Knock” joke.
You will need this later in the lesson
Story Time
3. Story Time
This lesson you will learn the concept of
sequencing instructions and how to synchronise
timings using the wait command. You will create a
program based around characters talking.
Lesson
Create stage based characters scenes
Sequence instructions
Synchronise timings using the wait command
Incrementally develop a project
Objectives
4. Watch the video Bad Joke which is in the
programming in scratch folder in Groupwork to
learn how to create a program that involves
interaction between characters.
Story Time
5. Task 3: Knock, Knock, Joke
Using the joke you found earlier, create a “Knock,
Knock” joke program that uses two characters like
the one in the video.
If you get struck, look back at the video.
Story Time
6. Did you have any problems and what you did to
overcome them?
Story Time
7. Task 4: Comedy Night
Create a program that mimics a comedy night
setup. There are to be three comedians (sprites)
on the stage. Each comedian is to take it in turn to
tell one traditional style joke.
Story Time
8. Task 5: Walk-On
In your ‘Comedy Night’ program make the
comedians walk onto the stage, and walk off when
they have said their joke.
You will have to start your sprite characters at the
edge of the screen.
Story Time
9. Some computer programs just run and continue
on their own with no input from the user e.g. a
program to make a character walk onto the stage.
However, many programs react to events (things
that happen), such as:
•The click of a mouse or press of a key
•The tilt of a game controller
•A swipe of a smartphone screen
Story Time
10. In Scratch, event blocks have a curved top. They
react in different ways:
•When the green flag is clicked.
•When the space bar key is pressed.
•Reacts when a sprite is clicked.
You will start to use some of these blocks next
week.
Story Time
11. Plenary: Question 1
The program below shows the scripts for two
sprites to tell a joke to each other. Why would the
program not work?
Story Time
Girl Boy
12. Plenary: Question 2
The program below
shows the scripts for
two sprites to tell a
joke to each other.
Aside from being a
terrible joke, what is
wrong with the
program?
Story Time
13. Plenary: Question 3
The program below shows the scripts for two
sprites to tell a joke to each other. Why would the
program not work?
Story Time
Girl Boy
14. Story Time
Keywords
Create stage based characters
Sequence instructions
Synchronise timings using the wait command
Incrementally develop a project
Objectives
Sequence
Costume
Wait
Characters
Code
Sprite
Stage
Event
Notes de l'éditeur
It is likely that the commonest cause of learners’ problems will relate to: ensuring that each sprite is talking at the right time maintaining a synchronised conversation if differing durations are used for say command remembering which script goes with what sprite
There are no pauses, meaning that the characters are talking at the same time. Appropriate wait commands need to be inserted.
Both scripts/sides of the joke are stored in the same sprite (Girl). The girl is telling a joke to herself.
The timings are wrong. The wait and say commands need to have their timings adjusted so that the characters’ lines are properly synchronised.