Introduction
Games are fundamentally different from other kinds of modern media: they are interactive. The player adopts an active role and jumps into the action of what is happening on the other side. This is a true marvel and one of the reasons why people feel so engaged.
For a game to be enjoyable, interaction needs to be seamless and fluid. The user should not feel a barrier or any disconnection between what they want to do and what actually happens. Good controls are required for your game to succeed!
Throughout this chapter, we will discuss the myriad of ways to detect user input within Libgdx and the extra utilities you can use to make your life easier.