Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

arrow_back Monster Noise

Transcript

In the core project, you programmed your monster to say a statement and animate at the same time.

In this add-on, you’ll add a sound parameter that is associated with the emotion of the monster.

To start, click on the sounds tab.

Add a sound to play for the happy, angry, and sad emotions.

This example adds the “laugh-female” sound for happy, “string accent” for sad, and “screech” for angry.

Great.

Click back to the scripts tab, and drag out a “play sound” block.

When clicked, it plays the sound you added to the sound menu.

To play this sound at the same time your monster says a statement and expresses an emotion, add another input to the define “show feelings” block.

Right click to edit, then select “string input” from the options menu.

Name the string something that describes the sound action.

This example names it “sound.”

If an extra text box appears, go ahead and delete it.

Click “okay.”

You created a sound parameter for the “show feelings” block!

Put the “play sound” block under the “say” block, then add the “sound” parameter inside the “play sound” block.

Finally, type the sound that will play in the input space you just coded for the “show feelings” block.

Test your code.

The sound plays with the wrong animation.

To fix this, move the “play sound” block above the “say” block.

Test again.

It works!

Now, it’s your turn.

Add a sound parameter to your “show feelings” block, then write the new sound in the new input space.

Choose an Add-On
Monster Noise
Program your monster to have a sound effect with each statement and animation.
Emotional Scene
Change the scene effect to reflect your monster's expression.
Movin' & Groovin'
Animate the monster's body parts.
Fuming
Add a smokey effect to show the monster is upset.
Draw An Expression
Use the drawing tools to add your own monster expression.
More Monsters
Add more characters to your story.
arrow_backward Back
Next arrow_forward
Instructions
  1. Choose an add-on, and click the "Watch" button to learn how to build it.
  2. After you finish, come back to the add-ons Screen to try another add-on!