test new 1
CreatiCode last edited by
A 3D “scene” is similar to a 2D “stage” in Scratch. It is a pre-built virtual world with some background, objects, lighting, and cameras, so you just need to add new objects/characters specific to your project into this world. For example, a “city” scene may contain buildings and roads.
Scene Name: By default, an “Empty” scene will be loaded with no objects in it. You can select a different scene by clicking the “Empty” input field, which will pop up a library window for you to browse and select a new scene.
Hidden Mode: By default, the scene is not hidden when it is created. You can set it to be hidden instead by selecting “yes”. To reveal the scene later, you can use the show 3D scene block.
When running this block, the 3D scene will be downloaded into your browser and then drawn on the stage window. For larger scenes, such as the “city”, it will take longer to download and draw it.
Program execution will pause at this block, and continue to the next block when the scene is ready.
- Visible Mode: If “yes”, then the 3D scene will become visible; if “no”, then the 3D scene will be hidden.
When running this block, the 3D scene will become visible or hidden immediately. This is useful if you want to hide the 3D scene initially and reveal it later. You may also use this block to switch from 3D mode to 2D mode, such as displaying a 2D splash screen or animation.
Run it yourself:
Build and run your first 3D program:
Change the size of the 3D window: