Change Scene
Go to a different scene in the project. This will immediately change out all your objects and reset the background.
Great for making a game with lots of levels, an interactive storybook with lots of pages, or even an animation in different settings.
Change Scene to ___
The project will change the scene depending on what is in the empty slot.
Scene bubbles
- If you put the "Next Scene" bubble, it will change to the next scene in the list. If there is no next scene, it won't do anything.
- If you put the "Previous Scene" bubble, it will change to the previous scene in the list. If there is no previous scene, it won't do anything.
- If you put a named scene bubble in this block, it will change to that scene, even if you change the name of the scene later on.
Text and numbers
You can also put text and numbers into the Change Scene block.
- If you put text in this block, it will change to the first scene with that name in the scenes list, if there is one that matches. If you change the name of that scene later on, the block will no longer change to that scene, unless you update the text inside.
- If you put a number in this block, it will change to that numbered scene in the scenes list, starting with 0 for the first scene.
Variables and operators
You can also use the Change Scene block with variables or operators.
- If you put a variable or operator in this block, it will use the value and change scene accordingly (e.g. text or number).
For example, you might have three garden scenes that you want to pick as a random option for the player. You can name them "garden1", "garden2" and "garden3".
In the Change Scene block, you can put "garden" + random(1-3). Then the value will be either "garden1", "garden2" or "garden3", and will change to one of those scenes.