Studio › Manual › 3D rooms

Make Player

Room > 3D View > Make Player… (⌃⌥P, or Make Player… in the inspector's Player section) turns the selected model into the room's player: in GameMaker it walks, runs and jumps with the keyboard, the mouse and a gamepad, plays its animations, is stopped by walls and walks up steps and ramps (the kit's collision; see Collision shapes).

  1. Pick how it moves: First-person walk, Third person, Top-down 8-way or Side-scroller (the one that goes with the room's camera is picked to start with).
  2. When the room has no camera, Also add a … camera (ticked) adds the one that goes with it, following the player. One undo step for both.

A room has one player: making another the player takes it off the first. The player gets the object o_player (a child of the kit's o_r3d_player, made once with a Create and a Step event for your own code, never written again) and an upright capsule that isn't solid.

Its animations are its roles (see Animation roles), else its clips found by name: Idle, Walk, Run (or Jog, Sprint), Jump, Fall, Land, Hurt, Die (plain forward moves before back, side and turning ones). When a character has no Idle, Run, Jump or Fall, the window has Add the basic movement set? ticked: the Starter animations for the roles it hasn't got, in one undo step with Make Player (see Add Basic Movement). Try it at once with Play Room (⌃R).

The inspector's Player section: Moves (another style takes its speeds, jump and turning; the camera that went with the old moves changes with it), Walk and Run (metres a second), Jump (metres), Gravity, Turning (degrees a second), Blend (seconds), Dead zone, and the eight animations. Not the Player (⌃⌥⇧⌘P) takes the settings off; its animations stay its roles.

In GameMaker the settings are the player's creation code, as Room 3D writes them: player_style, walk_speed, run_speed, jump_height, fall_gravity (units), turn_speed, anim_idle … anim_die, anim_blend, pad_deadzone.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.