Skip to content

Please update your browser

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

5. Display the Introduction Screen

Transcript

In this video, you’ll program the introduction screen to appear at the start of your program.

The introduction screen is a sprite.

To make it appear at the start of the program, show it when the flag is clicked, then hide it.

To start, add a “when flag clicked” event and a “show” block.

Click the flag to try it out.

The introduction sprite might be hidden behind the other sprites, so add a “go to front” block from looks.

Now that the intro screen shows, it should hide after displaying for a few seconds.

Add a “wait for 2 seconds” block and a “hide” block.

Test the code.

The sprite shows, waits two seconds, then hides.

If you want the introduction screen to appear for a different amount of time, change the value in the “wait” block.

Great!

Now you should have a working “Best Quiz Ever!”

Find a few friends to try it out, then click the green arrow to move on to the add-ons where you’ll have a chance to further customize your quiz.

Now it’s your turn: Make the intro screen sprite show and go to the front when the flag is clicked.

Then, program the intro screen sprite to hide after waiting for 2 seconds.

arrow_backward Back
Next arrow_forward
Instructions
  1. Make the intro screen sprite show when the program starts.
  2. Program the intro screen to hide.