Mastering Unity 2D Game Development

Front Cover
Packt Publishing, Limited, Oct 14, 2016 - Computers - 506 pages

Master everything you need to build a 2D game using Unity 5 by developing a complete RPG game framework!


Key Features:

  • Explore the new features of Unity 5 and recognize obsolete code and elements.
  • Develop and build a complete 2D retro RPG with a conversation system, inventory, random map battles, full game menus, and sound.
  • This book demonstrates how to use the new Unity UI system effectively through detailed C# scripts with full explanations.


Book Description:

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!


What You Will Learn:

  • Create a 2D game in Unity 5 by developing a complete retro 2D RPG framework.
  • Effectively manipulate and utilize 2D sprites.
  • Create 2D sprite animations and trigger them effectively with code.
  • Write beginning to advanced-level C# code using MonoDevelop.
  • Implement the new UI system effectively and beautifully.
  • Use state machines to trigger events within your game.


Who this book is for:

This book is for anyone looking to get started developing 2D games with Unity 5. If you're already accomplished in Unity 2D and wish to expand or supplement your current Unity knowledge, or are working in 2D in Unity 4 and looking to upgrade Unity 5, this book is for you. A basic understanding of programming logic is needed to begin learning with this book, but intermediate and advanced programming topic are explained thoroughly so that coders of any level can follow along. Previous programming experience in C# is not required.

Other editions - View all

About the author (2016)

Ashley Godbold is a programmer, game designer, artist, mathematician, and teacher. She holds a Bachelor of Science in Mathematics, a Master of Science in Mathematics, a Bachelor of Science in Game Art and Design, and a Doctor of Computer Science in Emerging Media where her dissertation research focused on educational video game design. She also authored Mastering Unity 2D Game Development: Second Edition (Packt Publishing) and the first edition of Mastering UI Development with Unity. In her free time, she enjoys playing video games and watching anime with her husband, daughter, three cats, and dog. Simon Jackson is a long-time soft ware engineer and architect with many years of Unity game development experience, as well as an author of several Unity game development titles. He loves to both create Unity projects and lend a hand to help educate others, whether it's via a blog, vlog, user group, or major speaking event. He currently works at a mixed-reality research lab called xRealityLabs, building the future of digital solutions for the construction and medical industries. His primary focus at the moment is on the Reality Toolkit project, which is aimed at building a cross-platform mixed-reality framework to enable both VR and AR developers to build efficient solutions in Unity.

Bibliographic information