Now that you've created a story,
it's time to add a credits screen
to give credit to everyone who helped you create your story.
That might include you, your host,
or any of your neighbors, really anyone.
To change backdrops in your story,
before, you may have added a backdrop,
then programmed the story to change that backdrop,
and then hidden the other sprites in the story.
In this step, you will learn a shortcut,
so you don't have to code all those steps.
To start, don't create a new backdrop.
Instead, click paint new sprite.
Now, zoom out, so you can see the entire paint window.
Credit screens usually have a black background,
but you can make yours whatever color you'd like.
Select the paint button tool and the color you want.
Click to use the paint bucket.
Now, you need to create a sprite for the credit text.
Click paint new sprite again.
Select the text tool and a color
that will show up well on your backdrop.
Then, write your first piece of credit text.
Play around with the font and color.
If you want to change the size,
you can do that with the select tool.
Once you have completed one credit,
click paint new costume and create more text.
You can do this as many times as you would like.
Once you have all your credits designed, it's time
to program them to appear at the end of your story.
Find the last piece of code in your story.
This is where you'll broadcast to show the credits.
Click events, and drag out a broadcast block.
Create a new message and call it credits.
Now, click on the backdrop sprite.
The sprite needs to hide at the beginning of the story,
and then show when the credits are broadcast.
To do this, drag out a when flag clicked
and a when I receive credits event.
Then, click looks, and place a hide block
under the when flag clicked event.
Place a show block under the when I receive credits.
Try it out by clicking the green flag,
then the broadcast block to broadcast the message credits.
Okay, great. The backdrop sprite now appears.
Now you need to program the text to appear in the same way.
Click on the text sprite, then drag out a when flag clicked
and a when I receive credits event again.
Then attach a hide block to the flag event
and a show block to the credits event.
Try it out the same way. Test it a few times.
Now, it's your turn.
First, paint a new sprite using the paint bucket tool.
Second, paint a new sprite and add credit text,
And add any additional costumes for each credit.
Third, broadcast a credit message at the end of your story.
Fourth, program both sprites to hide
when the flag is clicked and show when credits is received.
Then fifth, program the credit sprite to change costumes.
Write a song to connect with your audience.
Make a credits scene to thank everyone who helped you with your story.
Make an Easter Egg that changes the appearance of a sprite.
Add another scene to your story.
In this add-on, you’ll be challenged to engage the audience in your story by asking a question and using their response to extend the story.
Sign in to save your project and track your progress.