Input controls

It is important to consider how players will interact with our game. The player will control the Cucumber Man using the standard set of controls. Players have an expectation that the industry norms for user controls will be implemented in games. So our default set of user input control, as shown here, will consist of the keyboard and mouse:

We will configure and program our game so that user input from the keyboard matches the key and action pairings in the following table:

Keyboard input Action
Up arrow Move forward/up
Down arrow Move back/down
Left arrow Move left
Right arrow Move right
W Move forward/up
S

Get Getting Started with Unity 2018 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.