Book Image

Unity 2D Game Development Cookbook

By : Claudio Scolastici
Book Image

Unity 2D Game Development Cookbook

By: Claudio Scolastici

Overview of this book

<p>Unity is a powerful game development engine that provides rich functionalities to create 2D and 3D games.</p> <p>Unity 2D Game Development Cookbook is a practical guide to creating games with Unity. The book aims to serve the purpose of exploring problematic concepts in Unity for 2D game development, offering over 50 recipes that are easy to understand and to implement, thanks to the step-by-step explanations and the custom assets provided. The practical recipes provided in the book show clearly and concisely how to do things right in Unity. By the end of this book, you'll be near "experts" when dealing with Unity. You will also understand how to resolve issues and be able to comfortably offer solutions for 2D game development.</p>
Table of Contents (15 chapters)
Unity 2D Game Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Whether your game is going to be 2D or 3D, you will deal with a number of 2D assets, mainly textures. Therefore, before building a game, I will cover this topic and explain how textures and other 2D assets are dealt within Unity.

Though we assume you are familiar with texturing-related matters and image file formats used for texturing games, we are going to describe the most relevant aspects of the operations throughout this chapter.

Some could say that textures should have been covered before importing 3D models into Unity. As a matter of fact, when you export a model from a 3D editor like Maya, the exporting process takes care of setting references between the exported model, its material, and the textures for those materials. Once the model is imported, the material instances are recreated in Unity; if the textures for those materials have already been imported into the project, the materials can actually be read by Unity and the model will (almost) look like it did in Maya...