Exercise – creating a simple matinee sequence

Now, let's get hands-on and create a simple matinee sequence for your game. The plan is to showcase the area that we created at the beginning of the game. We will start with an extreme wide shot taken from the front of the house. We will use the dolly to take the camera toward the large windows in the dining area, into the kitchen area, and then the fireplace. Then, using the second camera, from the corner of the room, we will move toward a running guy and focus on his face.

Create a new matinee sequence from the ribbon, as shown in the following screenshot. Click on Matinee and select Add Matinee:

Exercise – creating a simple matinee sequence

This opens up the Matinee Editor, as shown in the following screenshot:

Exercise – creating a simple matinee sequence

To create the first camera, we will right-click on the Tracks area and select Add New Camera Group:

Exercise – creating a simple matinee sequence

Going back to the map, you can see a small window in the corner of the map that shows what the camera is looking at. This screenshot shows where our first shot starts:

Exercise – creating a simple matinee sequence

To create the next key where the next shot has to be taken, go back to the Camera1 track, click on the small red arrow at 0.0 in the Movement row, and hit Enter. This duplicates the key. Press Ctrl and click and drag the red arrow to 2.00. This screenshot shows how to do it correctly:

Exercise – creating a simple matinee sequence

Now, click on the red arrow at 2.00 and go back to Camera1 in the map. Right-click on it and select Pilot 'Camera Actor1', as shown in this screenshot:

Exercise – creating a simple matinee sequence

Move the viewport to the position you want to have the second keyframe in. This screenshot shows the position of the second keyframe camera:

Exercise – creating a simple matinee sequence

When the viewport is positioned, as shown in the preceding screenshot, click on the icon in the top-left corner of the viewport to stop the pilot mode in order to fix the keyframe here. The location of the icon is shown here:

Exercise – creating a simple matinee sequence

Following the shot plan we decided on, I have moved Camera1 along the path up to the fireplace. To add the second camera, repeat the steps to create a new camera group and name the new camera as Camera2.

Now, move the first keyframe to the end of Camera1's final keyframe timeline. For me, this is set at 8.50s; I moved the camera to the corner of the room, as shown in the following screenshot:

Exercise – creating a simple matinee sequence

Repeat the steps to create keyframes for Camera2, move it along the path toward the running man, and then focus on the running man's face.

Now, we have two cameras that need to be told which one is playing at which part along the timeline. To do so, we need to create a new director group. The director group will dictate which camera is on air and what will be showing on screen. Go back to Tracks in the Matinee Editor. Right-click and select Add New Director Group, as shown in this screenshot:

Exercise – creating a simple matinee sequence

This creates a Director track above the camera tracks. Select the newly added Director track at 0.00, go to the ribbon at the top, and select Add Key, as shown in this screenshot:

Exercise – creating a simple matinee sequence

The contextual menu will request that you select Camera1 or Camera2. In this case, select Camera1. This fills up the entire duration of the cinematics. To create a key at 8.50s where Camera1 and Camera2 overlap, click on the Director track again and select Add Key. This time round, select Camera2. Move this key to 8.50. This screenshot shows where the cameras are set up so that they can play correctly:

Exercise – creating a simple matinee sequence

Finally, we are ready to play the cut scene. To tell the game to play the cut scene when starting the game, we need to use Blueprint. I hope you still remember how to use the Blueprint Editor. Click and open the Level Blueprint. Add the Event BeginPlay node and right-click and search for Play. Select the Play Matineee Actor option and link the nodes, as shown in the following screenshot. Now, save and play the level. You will see the entire matinee play before you control the player in the level.

Exercise – creating a simple matinee sequence
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset