Creating new scenes
We have been experimenting with the same scene and script file for now. Working like this was okay for now, but we need a way to create different scripts for different topics and solutions to separate all lessons. This way, we don’t have to throw away all our previous experiments and can have a clean scene every time.
Luckily, we can easily make a new scene and use a different script. We can even name the scene to identify what happens within.
Important note
Remember that a scene is a separate file that can be executed. It contains a collection of nodes. For now, we only use one root node. Later, from Chapter 6, we will work with more intricate scenes that contain more nodes.
To create a new scene, follow these steps:
- Right-click anywhere in the FileSystem window and choose New Scene….
Figure 2.8 – We can select the option to create a new scene by right-clicking in the file manager
- The...