Menu
Lumberyard
Getting Started Guide (Version 1.11)

Placing the Player Character

In this tutorial, you place a player character so that you can move around and explore the level from a player's perspective. To do this, you drag the character controller slice from the Asset Browser into your viewport. Slices are described in a later tutorial.

The character controller is Jack the robot, which you played in the previous tutorial in the orientation level. You also place the camera manager slice, which improves player input controls from the keyboard. The camera manager slice also helps to manage the switching of additional cameras, which you place later in this tutorial series.

To place the character controller and camera manager

  1. The Asset Browser automatically opens in Lumberyard's default layout, in the lower left corner. If you don't see it, choose Tools, Asset Browser to open it.

  2. In the Asset Browser, navigate to Game/slices.

  3. Drag playerslice.slice into the viewport.

    This places the robot character into your level, which you can control.

    Zoom in to view the character in detail.

  4. Because the character controller is composed of a number of entities, all the helper icons are visible. To hide these, click the hide helpers toggle in the top right of the viewport.

    You can now see the character's details clearly.

  5. To place the camera manager, drag camera_manager.slice from the same directory into your viewport.

    The camera manager is not required to be situated in any particular place in your level. However, for organizational purposes, you can place it near the player slice for future reference.

  6. Press Ctrl+S to save your level.

  7. Click Ctrl+G to play the game and explore the terrain. You can control the character using W, A, S, D keyboard controls, and click to shoot. You can also use a PC game controller if preferred.

Next: 3: Gathering your Building Blocks