Book Image

Mastering Unity 2D Game Development - Second Edition

By : Ashley Godbold, Simon Jackson
Book Image

Mastering Unity 2D Game Development - Second Edition

By: Ashley Godbold, Simon Jackson

Overview of this book

The Unity engine has revolutionized the gaming industry, by making it easier than ever for indie game developers to create quality games on a budget. Hobbyists and students can use this powerful engine to build 2D and 3D games, to play, distribute, and even sell for free! This book will help you master the 2D features available in Unity 5, by walking you through the development of a 2D RPG framework. With fully explained and detailed C# scripts, this book will show you how to create and program animations, a NPC conversation system, an inventory system, random RPG map battles, and full game menus. After your core game is complete, you'll learn how to add finishing touches like sound and music, monetization strategies, and splash screens. You’ll then be guided through the process of publishing and sharing your game on multiple platforms. After completing this book, you will have the necessary knowledge to develop, build, and deploy 2D games of any genre!
Table of Contents (20 chapters)
Mastering Unity 2D Game Development - Second Edition
Credits
About the Authors
About the Reviewer
www.PacktPub.com
Preface

Packaging gotchas


You have your game running fine in the editor, and you finally come to start testing it on a platform. Life is good and surely you must be ready to deploy; sadly, this is just the point where your next journey begins.

Actually, shipping your title brings to light a whole raft of new challenges. What follows is a list of tips, tricks, and gotchas I've encountered while working with many different teams and events as follows:

  • Just because it runs in the editor DOES NOT mean it will run on a platform:

    • I've come across too many teams that finish their game in the editor without even trying to run it on at least one target platform. This can cause serious rework later on as you may find that the code will simply not run on some platforms.

      Another issue that can sometimes rear its head is when you have written code that depends on the editor but you have not placed it in the Editor folder. When you run it in the editor, it will work fine, but on a platform it will either crash or...