Skip to content

Please update your browser

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

4. Create a New Scene

Transcript

In this video, you will transition to a new scene.

In “The Signal,” the glitch takes the characters into a new scene.

Check it out.

[laughing] What? What just happened?

Just needed to fill up.

We'll be back on the road in five.

In your story, your main character will transition to a new scene with a new character.

To start, change the backdrop.

Earlier, you selected the backdrop manually.

This time, the backdrop will change in the middle of your story, so you will use a code block.

Select the last character that spoke in your story.

In this example, that’s Carmen.

Select looks, and drag out a “switch backdrop to” block.

Then, select a backdrop from the dropdown.

Click the flag to try it out.

Great!

To try a different backdrop, change it in the dropdown.

Uh oh!

The backdrop never changed back to the original one.

To fix this, add a “switch backdrop” block after the “when flag clicked” block.

Try it out.

The backdrop switches at the start and at the end of the scene.

Next, hide your second character, and show a new one.

Add a “hide” block to the end of your second character’s code.

Then, select a new sprite to show when the scene changes.

You may want to drag this sprite toward the top of the sprite list.

Then, select “events,” and drag out a “when backdrop switches to” block.

Select the second backdrop in your scene.

Rather than running the code when the flag is clicked like the other events in your program, this one runs code when the backdrop changes.

Next, add a “show” block.

Click the flag to try it.

Great!

Next, hide this character at the start of the story.

Drag out a “when flag clicked” and a “hide” block.

Awesome!

You set up a new scene!

In the next video, you will continue the story in this new scene.

Now it’s your turn!

Switch the backdrop at the start of your story Switch the backdrop at the end of the first scene Hide your second character at the end of the first scene And finally select a new character to show when the backdrop changes, and make it hide when the flag is clicked.

arrow_backward Back
Next arrow_forward
Instructions
  1. Switch the backdrop at the start of your story
  2. Switch the backdrop at the end of the first scene
  3. Hide your second character at the end of the first scene
  4. Select a new character to show when the backdrop changes, and make it hide when the flag is clicked.