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 ...
Get Getting Started with Unity 5.x 2D Game Development 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.