1 of 22

Scratch Skits!

Spring Quarter 2021

2 of 22

Think of a skit you want to make!

Ideas

  • Among us :0
  • Quarantine
  • Meow
  • School

3 of 22

Review Blocks

Forever Loop

Event blocks

  • Repeats code inside block forever
  • Tells the sprite to watch out for something!
  • “When ____ happens, do whatever code is underneath”

4 of 22

Review Blocks

If-then statement

  • If the <__> is true, then the robot will do whatever is inside the block

5 of 22

New Blocks!

6 of 22

Changing Costumes

7 of 22

Changing Costumes

Some sprites already have multiple costumes available!

Or we can select a new costume here

8 of 22

Changing Costumes

We can upload images from our computer

Or we can draw our own sprites!

9 of 22

Changing Costumes

Try duplicating and editing a costume to easily create your own custom costume for a sprite.

10 of 22

Changing Costumes

Click the X button on the Sprite panel to go back to coding!

11 of 22

Changing Costumes

  • Switch to a different costume
  • Switch to the next costume in our costume list

12 of 22

Changing Costumes

Remember to add “wait” blocks in between costume switches when you’re making animations!

13 of 22

More “Looks” Blocks

14 of 22

“Looks” Blocks

  • Say hello forever!

(until we tell the sprite to say something else instead)

  • Say hello just for two seconds!

15 of 22

Since we’re making a skit...

How can we make the sprites communicate with each other?

16 of 22

Broadcast

  • Tell “message1” to ALL the other sprites

  • This happens “secretly

Receive a broadcast

  • Listen for a (secret) message called “message1”!

The message is being spoken SECRETLY -- the user won’t be able to see the sprites talking to each other!

It’s like they’re whispering to each other behind the scenes.

17 of 22

What about ?

Doesn’t this also make the sprite “talk”?

Yep! But think of it this way:

  • “Say Hello!” is in the LOOKS category
  • Imagine the sprites are blind - they can’t SEE other sprites!
  • So they have to LISTEN for messages instead to communicate

18 of 22

Broadcast Blocks

  1. Broadcast message1

  • Then continue onto the next block immediately

VS

  1. Broadcast message1

  • Wait for every block group starting with:

in every sprite to finish

running

  • Continue onto the next block

19 of 22

Let’s try it out!

20 of 22

For making skits, it may be easier to choose timed blocks!

Sprite 1:

Sprite 2:

21 of 22

Breakout rooms!

Think of a skit you want to make!

  • We will help you if you need any help!

Ideas

  • Among us :0
  • Quarantine
  • Meow
  • School

22 of 22

blocks