Book Image

Unity 5.x Game Development Blueprints

By : John P. Doran
Book Image

Unity 5.x Game Development Blueprints

By: John P. Doran

Overview of this book

<p>This book will help you to create exciting and interactive games from scratch with the Unity game development platform. We will build 7-8 action-packed games of different difficulty levels, and we’ll show you how to leverage the intuitive workflow tools and state of the art Unity rendering engine to build and deploy mobile desktop as well as console games.</p> <p>Through this book, you’ll develop a complete skillset with the Unity toolset. Using the powerful C# language, we’ll create game-specific characters and game environments. Each project will focus on key Unity features as well as game strategy development. This book is the ideal guide to help your transition from an application developer to a full-fledged Unity game developer</p>
Table of Contents (19 chapters)
Unity 5.x Game Development Blueprints
Credits
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Starting our project


To get started, let's create a new project for us to work with:

  1. With Unity started from the launcher, select File | New Project. From there, give it a name (I used ClickerGame) and a Project Location of your choice and make sure that 2D is selected. Afterwards, click on Create project:

  2. Now that we are inside the editor, let's start off by creating our button, which we will use to click. From the Project tab, create a folder named Sprites and open it up. Then, right-click from the folder and select Import New Asset… and select the button.png file from inside of the Art Assets folder. Alternatively, you can use your own asset as it's just a way to make the button different from the default one.

  3. To create the basic button, we will customize start off by going to GameObject | UI | Button. From the Hierarchy tab, open up the Button object by clicking on the triangle next to the name and then delete the Text object by selecting it and then pressing the Del key. Then, select the...