Creating a 2D Collection Game
In Chapter 1, you were introduced to the Unity Editor and its common windows and toolbars. We also created our first player character – the ladybug! Sadly, the ladybug is currently sitting in a vast nothingness without any goals providing value for its existence.
In this chapter, we’ll start putting the previous knowledge gained to good use by first adding more GameObjects to our Scene and creating a 2D, top-down environment for the Outer World collection game (our ladybugs will be happy indeed).
Creating a 2D top-down environment and designing a level is a trivial task when using the Tilemap feature. It allows you to create a palette of Tiles and then simply draw the level right within the Unity scene View.
There is only so much you can do with GameObjects and Unity’s built-in components alone, so you’ll be introduced to the C# language. Writing your own scripts in C# allows you to create the functionality your games...