In this add-on, you will make the
character's faces even more expressive.
To start, copy the sprite's eyebrows into new sprites.
Click paint new sprite.
And name it Malik Brows.
Select the Malik sprite.
Click just outside of the face, near the eyebrows,
and create a selection box around the eyebrows.
To copy this, hold control or command and press C.
To paste them into the new sprite, select the sprite,
then hold control or command and press V.
Move the brows on the stage to the correct spot.
Select the Malik sprite and delete the original eyebrows
in the both the open and closed costumes.
The current eyebrows don't convey a specific emotion.
They're how eyebrows look most of the time.
Select the Malik Brows sprite, click the costumes tab,
and name this costume neutral.
Next, create different expressions for the eyebrows.
There are six different emotions in the talk sprites.
Happy, sad, disgusted, surprised, talk, and neutral.
The sprites will switch to these costumes based
on the emotion set in the speak block.
To make the eyebrows look surprised,
duplicate this costume and move the eyebrows slightly up.
Make the inner corners of the eyebrows tilt slightly up.
Change the costume's name to surprised.
To make angry eyebrows, duplicate the neutral costume again.
And call the copy of the costume angry.
Then make the inner corners of the eyebrows point down,
and raise up the outer corners.
Great. These are some angry eyebrows.
Make disgusted eyebrows by duplicate the angry costume,
and making whatever slight adjustments
you think are necessary.
To make sad eyebrows, duplicate the neutral costume,
name the costume, and raise the inner corners of
the eyebrows using the reshape tool.
Finally, duplicate the neutral costume one last time
to make happy eyebrows.
Make slight adjustments.
This was a lot of work, but luckily you don't
have to repeat it for the Isabel sprite.
Duplicate the Malik brow sprite.
And rename is Isabel brows.
Delete the brows from the Isabel sprite.
And move these new brows to their correct location.
Next, program Malik's eyebrows to change costumes
based on the emotion parameter in the Malik costume.
To make this happen, select the Malik talk sprite.
Then create a variable.
Call the variable Malik's emotion.
Add a set variable block below the
broadcast Malik talking block.
And select Malik's emotion from the dropdown menu.
Set it equal to the emotion parameter
from the talk function.
Program the Malik Brows to change costumes
when it receives the message that Malik is talking.
Select the Malik Brows sprite,
and add a when I receive block.
Select the Malik talking message.
Add a switch costume block and place a
Malik's emotion variable inside it.
Click the flag to test.
Malik's eyebrows change with the sprite's emotions.
Repeat this process for Isabel.
Select the Isabel talk sprite,
and create a variable called Isabel's emotions.
Add a set variable block below the broadcast block.
Select Isabel's emotion from the dropdown,
and drag in the emotion parameter from the define block.
To program the Isabel brows to change costumes when
it receive the message that Isabel is talking,
select the sprite, and add a when I receive block.
Select Isabel talking from the dropdown menu.
Add a switch costume block,
and place an Isabel emotion variable inside it.
Nice. Now both character's eyebrows change
to express their emotions.
Now it's your turn.
Copy the eyebrows from the Malik sprite into a new sprite,
and delete the original eyebrows.
Create new eyebrow costumes to reflect different emotions.
Duplicate the eyebrows sprite
to create new eyebrows for Isabel.
Create a variable for Malik's emotion, and set this variable
equal to the emotion parameter from the define speak block.
Program the Malik brows sprite to change costumes to reflect
the sprite's emotions each time the sprite talks.
Repeat this process for the Isabel sprite.
Use the editing tools to draw your own expression or edit the appearance of the sprite.
In "Chatterbox," add a sound that plays each time a character speaks.
Add moving eyebrows to your sprites' expressions.
Add an object related to the story.
As the user a question and react to the response.
Sign in to track your progress and earn badges