Session 3.2
Conversations
Create a new project
Create a new project
Name it "3.2 Conversations
" and share it
What are the different ways to coordinate interactions between sprites?
You could use the say ...
blocks and pair them with wait
blocks, but this gets tedious and if you need to fix something later on is troublesome. Instead you should use broadcast
and when I receive
blocks to have sprites give each other cues to their turn to speak/act.
Start Here
Start Here
- Watch the video above of TClark explaining broadcasting.
- Look inside the Penguin Jokes project
- Investigate the code to see how the
broadcast
andwhen I receive
blocks are used to coordinate the conversation. - Remix the project to use the
broadcast
andwhen I receive
blocks to add your own joke. - You can change the
message1
broadcasts by selecting "new message
" on the drop down then writing your own broadcasts- recommended that you number your messages and scenes
Requirements & Guidelines
Requirements & Guidelines
- Create your own joke using events and broadcasts.
- Make a joke or Story!
- Add movement and animation.
Feeling Stuck? Things to Try:
Feeling Stuck? Things to Try:
- You may change the sprites to have different costumes.
- Take a look at the broadcast messages for one sprite vs the other, one is odd
when I receive
and evenbroadcast
, while the other is evenwhen I receive
and oddbroadcast
. If the sprites keep taking turns to talk, this pattern will continue. - Brainstorm ideas with a neighbor! Generate a list of possible solutions and test them out together.
- Try using the
broadcast
andwhen I receive
blocks in different parts of your project.
Finished?
Finished?
- Challenge yourself to do more! Experiment with adding different characters and behaviors using the Make a Block feature.
- Help a neighbor!