Chapter 2. Baking Cupcake Towers
In this second chapter, we will begin to build our game. We will see how it's possible to place objects in 2D space and create templates for the most used objects. Furthermore, we will see how Unity deals with scripts, and we will write a couple of our own for our game.
In particular, we will cover the following topics:
- Placing objects in 2D space
- Setting up the map for our game
- Using tags and layers
- Creating Prefabs (templates for game objects)
- Creating new scripts
- Basic concepts of scripting in Unity
- Writing our first two scripts for our game
Like all the other chapters of this book, you will find the Homework section at the end. It has a range of different exercises for you to do to improve your skills and implement a range of different functionalities into your game.
So, let's get started by learning how to place 2D objects into the scene.