Cat Crossing the Street! (Activities involving 2 persons)

01 Initial Setup

Let’s create a scenario for a cat crossing the street!

  • Cat: “Hey, I’m gonna cross the street
  • Dog: “Wait”
  • Cat: “What?”
  • Dog: “Look both ways before you cross”
  • the cat looks left
  • the cat looks right
  • Cat: “Crossing now”
  • The cat crosses the street



Guided instruction to implement this scenario in Scratch

  1. Open Scratch and create a new project.
  2. Select the “urban” backdrop by clicking on the “Choose a backdrop from library” button below the stage and choosing the “urban” backdrop.
  3. Add the “dog2” sprite by clicking on the “Choose a sprite from library” button below the stage, selecting the “Animals” category, and choosing the “dog2” sprite.
  4. Resize both sprites to a size of 50 by clicking on the sprite and using the “Size” block in the sprite’s code.
  5. Position the dog sprite on one side of the street and the cat sprite on the other side as shown in the image provided. You can drag the sprites to the desired positions.
  6. Horizontally flip all costumes for the dog sprite so that it faces to the left. To do this, click on the dog sprite, go to the “Costumes” tab, select each costume, and use the “Flip horizontally” button.
  7. Copy the first costume of the cat sprite and place it in the third position. To do this, click on the cat sprite, go to the “Costumes” tab, select the first costume, and click on the “Duplicate” button. Then drag the duplicated costume to the third position.
  8. Horizontally flip the third costume of the cat sprite. To do this, click on the cat sprite, go to the “Costumes” tab, select the third costume, and use the “Flip horizontally” button.

Now you have set up the sprites and costumes for the cat crossing the street scenario in Scratch. You can continue by adding scripts to animate the sprites and make the cat look left and right before crossing the street.

Video Tutorial

Follow along with the video below:

https://youtu.be/q4TzNKMy63s

Suggested solution

Scratch project: https://scratch.mit.edu/projects/848541187

For our Sprite 1 (Cat)

02 Sprite1 Code (Cat)

For Our Dog2

03 Dog2 Code

© 2023  Vedesh Kungebeharry. All rights reserved. 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s