2

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.

Get Unity 2022 by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.