STEP 16 OF 67 · YOU ARE THE GAMEPLAY PROGRAMMER

Set up controls and camera

Movement, looking, jumping, sprinting and interacting, on keyboard and mouse and on a controller. Tune the camera until moving simply feels good.

How to do it

  1. Map every action in Enhanced Input.
  2. Test with keyboard and mouse and with a controller.
  3. Tune camera distance, sensitivity and wall collision.
How AI speeds this up

Ask Duke to write the input setup and explain each part.

Example from a sample game

Ashfall: sprint on Shift / left stick click, camera 3.2 m behind, pulls in near walls.

Before you move on

In Duke Forger, this step's gate checks:

Words to know

Enhanced Input
Unreal's system for mapping keys, mouse and controller buttons to actions like Jump or Attack.
Camera
The player's point of view. Third-person cameras follow behind the character.
Do step 16 on your own game

Included in Creator, Academy and Studio. Duke drafts it with you and checks it before step 17 opens.

Start free