Completing the Collection Game
In Chapter 2, you were introduced to level design, adding different 2D assets, using assets with Tilemap to create a game environment, and creating scripts using the C# language and the Visual Studio (VS) IDE to add movement to the player character.
With the player moving around the environment, we’ll want a way to follow them visually around the level. This chapter will use Unity’s camera system called Cinemachine (CM) – a powerful camera control feature that makes polished camera movement easy to add and set up.
We’ll finish the chapter with an introduction to adding a user interface (UI). You’ll learn how to add text to the screen to track gameplay progress with a timer and score. We’ll use Unity’s UI system, commonly called uGUI, to accomplish this task.
In this chapter, we’re going to cover the following main topics:
- Using CM to follow the Player and playtesting
- Game mechanics...