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 video, you will transition to a new scene.

In the signal, the glitch takes the characters into a new scene.

Check it out.

(laughter)

(glitching)

What, what just happened?

Just needed to fill up. We'll be back on the road in five.

(whoosh)

In your story, the 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.

(calm music)

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 the sprite to 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 event in your program, this one runs 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.

Select a new character to show when the backdrop changes, and make it hide when the flag is clicked.

And finally, click the Share button to share your awesome project.

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.
Attributions
  • "Gumball | The Signal | Cartoon Network" by The Amazing World of Gumball (https://www.youtube.com/watch?v=CftA5oEXetE&t=0s&index=92&list=PL77ED97B132C66551) -- Licensed by Standard Youtube License (https://www.youtube.com/static?template=terms)