Chapter 3. Communicating with the Player – the User Interface
User interfaces, often referred to as UIs for short, play a vital role in a game, since it's one of the main way to exchange information with the player. Usually, the game provides information, status, or stats of the game and the player interacts with the game with input through the UI.
This chapter will explain why UIs play such an important role in games and about the different things that we need to take into consideration when we design and/or implement UIs. Of course, this chapter will focus on the Unity framework to build UIs, and explains how to use it.
In the last part of the chapter, we will see how to start with UI programming from a practical point of view by implementing two important game play elements within the UI of our game. However, we will see more about UI programming in Chapter 5, The Secret Ingredient Is a Dash of Physics, where we will polish the game and implement the whole gameplay...