Time for action – creating a tutorial scene
Perform the following steps to create a tutorial scene:
Create a new scene called
TutorialScreen
in yourRollingMarble
project.Create a cube primitive and position it at
0
,0
,0
.Scale the cube to
10
,1
,10
so that it's a large enough surface for the player to roll around on.Change the Y value of the Main Camera to
5
so that it can give the player an elevated view that's easier to observe the marble with.Your scene should now look something like the following screenshot in the Scene window:
We don't want our player to be able to fall off the level and lose on the tutorial screen, so create four cube primitives and scale them into walls for the platform as shown:
The scene looks very dark in the camera preview. Add Directional Light by navigating to Hierarchy| Create menu with default settings.
Click-and-drag an instance of your
Marble
prefab from the Project window onto the new platform in your scene.As you stored all of the properties of the marble...