Lesson 1 of 0
In Progress

Playing with Sounds

Hmm… something is missing from our animations. Can you guess what?

Sound! With sound, animations become more attractive. Let’s see how you can add sound to your animations.

What is Sound?

sound is something that you hear when someone speaks, sings, or plays a musical instruments. It can be played, available by importing, built-in sound library, or recording.

In PictoBlox, you can play different sounds by using blocks from the Sound palette which can control a sound’s volume, tempo, and more.  Sound Palette

Let’s see how to use them in an animation!

Activity: Adding Sounds

In this activity, we’ll make an animation of a barking dog in which whenever we press the spacebar, the dog will bark and go to a random location on the stage.

Choosing the Backdrop

Follow the steps below to add a backdrop.

  1. Click the Choose a Backdrop button.Choose Backdrop
  2. Select the Jungle backdrop from the library.jungle backdrop

And that’s it! The stage has now transformed from a blank space to a colorful jungle!

Choosing the Sprite

Follow the steps below to add a sprite.

  1. Using choose a sprite button, Choose the Dog1.New Spritedog
  2. Right-click on the Tobi icon in the sprite palette and delete it.        delete tobi

Now, let’s animate the dog.

Setting the Starting Position

starting point of dogUsing the following blocks, we will set the starting position of Dog.initial position of dog

Adding Costumes

As we will be working on two costumes of the dog, we first need to add the costume.

  1.  Click on Costume palette.Costume Palette
  2. You will see two costumes of dogs that are already added. Dog Costumes

Switching Costumes and Playing Sounds

Next, we create another script. We will use switch costume block from looks palette and play sound block from the sound palette.making dog sound

Gliding to a Random Position

  1. To make our Dog sprite glide randomly, We will use glide block from the motion palette.
  2. To switch back to initial costume, use switch costume block from looks palette.making dog glide

Sensing the Space Key

  1. From the Events palette, add the following hat block. It will sense it when we press the space key and make the script run.when space pressed

The entire script looks like this:Making Sound

Maximize the stage and enjoy the animation!Playing Sound

Saving the File

Save the file with the name Playing Sounds.


Before you move on to the next lesson, a small assignment awaits you!

You must upload the PictoBlox script you made in this activity to the website.

Submitting the assignment is a must in order to receive the certificate after completing the course.

Follow the steps below to upload your assignment:

  1. Click on Choose File.
  2. Select the image from the pop-up window that opens up.
  3. Once the image is selected, click on Upload Assignment.
evive Alert
The allowed file type is SB3 file generated from the PictoBlox program. The maximum file size allowed is 5 MB.

Good luck!

Get in Touch!