April 2018
Beginner
476 pages
14h 4m
English
Analog input can return one or more continuous values. The most popular example would be an analog stick found on any modern console controller. When a stick is tilted, the controller tracks separate values for up/down and left/right positions as well as the degree of the tilt. The formatting could look like this: (0, -1) for a stick that's turned left all the way, (-0.5, 0.3) for a stick that's tilted down halfway and 30% to the right. This allows for more subtle and natural control over things like movement or cursor speed.