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
- Map every action in Enhanced Input.
- Test with keyboard and mouse and with a controller.
- 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:
- You confirm itMove, look, jump, sprint and interact work on keyboard and mouse
- You confirm itThey also work on a controller
- You confirm itThe camera does not clip through walls
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
Start freeIncluded in Creator, Academy and Studio. Duke drafts it with you and checks it before step 17 opens.