Goal:

Create 4 sprites and each sprite will have a different animation when clicked!

Steps:

  1. Create a new sprite lab project: https://studio.code.org/projects/spritelab/new

  2. Don’t forget to rename your project!

    image.png

  3. Create background

    1. Drag a “Set background” block

      image.png

    2. Place the block under the “When run”

      image.png

    3. Click “Run” to see the result!

  4. Create 4 sprites in different locations:

    1. Take a “Make new Sprite” block from the “Sprites” folder.

      image.png

    2. Place the block under the background

      image.png

    3. Click the yellow “location selector” to choose where to place the sprite.

      image.png

      image.png

    4. Click Run to see the result!

    5. Add 3 other sprites on the map.

  5. Create the “click” events

    1. Get a “When click” block from the events folder.

      image.png

    2. Place the “When click” event block anywhere on the editor.

    3. Take a “Say block” from the Sprites folder.

      image.png

    4. Place the “Say block” under the “When click” block.

      image.png

    5. Edit the words for the “Say block”

      image.png

    6. Click “Run” and test!

    7. Add the events for all the other sprites!