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 codeblock.
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.
To try a different backdrop, change it in the dropdown.
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.
Next, hide this character at the start of the story.
Drag out a “when flag clicked” and a “hide” block.
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 firstscene Hide your second character at the end of thefirst scene And finally select a new character to showwhen the backdrop changes, and make it hide when the flag is clicked.