Skip to content

Please update your browser

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

Transcript

In this story, you'll program an Easter egg that changes the appearance of a sprite in your story.

An Easter egg is a special feature or inside joke that computer scientists add to programs for users to find.

Some fun examples of Easter eggs include searching for do a barrel roll on Google, or doing a Google image search for Atari Breakout.

For this add-on, you'll add an Easter egg that changes the sprite's appearance when it's clicked.

To start, choose a sprite.

Click Events and drag out an event for your Easter egg.

This example we'll use when the sprite is clicked.

But you might choose a keypress event or something else.

Then, all that's left is to code it.

Try saying a message like, "Hey!

"You shouldn't have done that!"

Then, put a few different change effect and Motion blocks into a forever loop.

Try out different things until you come up with a fun Easter egg that will add a little mystery and excitement to your story.

Now it's your turn.

Add an event to trigger your Easter egg.

Put some change effect and Motion blocks into a forever loop.

And then once you've done these things, you should have your very own hidden Easter egg.

Show your program to friends and see if they can find the Easter egg your hid in your story.

Choose an Add-On

Write a Song

Write a song to connect with your audience.

Add a Credits Scene

Make a credits scene to thank everyone who helped you with your story.

Easter Egg

Make an Easter Egg that changes the appearance of a sprite.

Add a Second Scene

Add another scene to your story.

User-Controlled Decision

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.

Instructions
  1. Choose an Add-On, and click "watch" to learn how to build it.
  2. Once you finish one Add-On, try another one below the video!