Book Image

Unity 5.x By Example

By : Alan Thorn
Book Image

Unity 5.x By Example

By: Alan Thorn

Overview of this book

Unity is an exciting and popular engine in the game industry. Throughout this book, you’ll learn how to use Unity by making four fun game projects, from shooters and platformers to exploration and adventure games. Unity 5 By Example is an easy-to-follow guide for quickly learning how to use Unity in practical context, step by step, by making real-world game projects. Even if you have no previous experience of Unity, this book will help you understand the toolset in depth. You'll learn how to create a time-critical collection game, a twin-stick space shooter, a platformer, and an action-fest game with intelligent enemies. In clear and accessible prose, this book will present you with step-by-step tutorials for making four interesting games in Unity 5 and explain all the fundamental concepts along the way. Starting from the ground up and moving toward an intermediate level, this book will help you establish a strong foundation in making games with Unity 5.
Table of Contents (10 chapters)
9
Index

Getting started – Unity and projects

Every time you want to make a new Unity game, including coin collection games, you'll need to create New Project. Generally speaking, Unity uses the term Project to mean a Game. There are two main ways to make a new project, and it really doesn't matter which one you choose because both end up in the same place. If you're already in the Unity interface, looking at an existing scene or level, you can select File | New Project from the application menu. See Figure 1.2. It may ask if you want to save changes to the currently opened project and you should choose either Yes or No, depending on what you need. After selecting the New Project option, Unity leads you to the project creation wizard:

Getting started – Unity and projects

Figure 1.2: Creating a new project via the main menu

Alternatively, if you've just started Unity for the first time, you'll probably begin at the welcome dialog. See Figure 1.3. From here, you can access the new project creation wizard by choosing the NEW PROJECT button:

Getting started – Unity and projects

Figure 1.3: The Unity welcome screen

On reaching the NEW PROJECT creation wizard, Unity can generate a new project for you on the basis of some basic settings. Simply fill in the name of your project (such as CollectionGame), and select a folder on your computer to contain the project files that will be generated automatically. Finally, click on the 3D button to indicate that we're going to create a 3D game, as opposed to 2D, and then click on the Create project button to complete the project generation process. See Figure 1.4:

Getting started – Unity and projects

Figure 1.4: Creating a new project