In this add-on, you'll add a scene
to the end of your story and stop your character's walk.
Click the stage and then the Backdrops tab
to see the additional backdrops or scenes
included in the starter project.
You can also choose a backdrop from the Scratch library,
you can draw your own backdrop
or upload one from the computer.
Decide on a backdrop for your next scene.
To add the backdrop to the end of your story
click on the Character sprite,
click on the Looks menu,
then drag the switch backdrop to block
to the end of your block stack.
Choose the backdrop you will use
from the drop-down menu in the switch backdrop block.
Try it out.
Great, the scene changed but the character
is still moving up and down like it's walking
and the table from the store scene still displays.
To hide the table, click on the table sprite,
click on the Events menu
and drag out a when I receive block.
In the drop-down menu choose New message.
Enter something descriptive like Next scene.
From the Looks menu, add a hide block
then click the block stack to test it.
Great, the table disappears.
Click on the Character sprite again
and the Events menu and drag a broadcast block
into your code stack.
Choose the message you just added from the drop-down.
In this example, that's Next scene.
Now when the broadcast block is run,
the Next scene message will broadcast
and the table will hide.
Next, to stop the character from moving
up and down like it is walking, click the Control menu
and drag out a stop block.
From the drop-down, choose other scripts in this sprite.
This will stop any other code block stacks,
called scripts, from running.
Click it to try it out.
Great, the character stops moving.
Connect the stop block to the end of your stack.
Try the whole project again
to look for unexpected problems.
First, the story is told in the store.
Then the backdrop switches,
the next scene backdrop is broadcast
which tells the table sprite to hide
and finally, the other code in the character sprite
is stopped so the character stops walking.
Of course, the character also needs to react
to the new scene.
What will your character do or say next?
Where will your story go?
Now it's your turn.
Use the switch backdrop block to change the scene,
broadcast a message to the table to hide,
then use a stop block to stop your character's walk.
Add sounds to your story.
Add another object for your character to encounter in your story.
Add a scene to the end of your story, and stop your character's walk.
Sign in to track your progress and earn badges