Unity 2D Game Development
By Dave Calabrese
Publisher: Packt Publishing
Final Release Date: March 2014
Pages: 126

In Detail

Unity is a game development ecosystem: a powerful rendering engine fully integrated with a complete set of intuitive tools and rapid workflows to create interactive 3D and 2D content. Unity 4.3 has introduced a variety of exciting new features, and it is about time you use these features to build an amazing 2D game. Prepare yourself to travel back to the 90s and build a game like they used to make them using today’s technology. That’s right; we’re talking about making 2D games using Unity!

This book will help you build 2D games in Unity using the engine’s 2D technologies added in Version 4.3. You’ll learn the basics of importing assets and building foundation technology all the way up to full combat and boss battles!

All the required assets are supplied and detailed code is included, making it a cinch to create functional players, dangerous enemies, a treacherous environment, gameplay scoring, and much more. With the book’s straightforward and practical approach, each chapter takes you a step closer to the final game. We will wrap things up by looking into the basic aspects of the game’s UI.

Once you reach the end and have integrated a final boss battle, you can go back to the challenges included in each chapter and use them to improve the game and your 2D game development skills!


A fun, easy-to-follow experience that takes you from an empty project in Unity 4.3+ all the way to a finished, functional 2D platformer, while giving you challenges and ideas to take what you learn in this book and expand upon it.

Who this book is for

This book is ideal for anyone who wants to learn how to build 2D video games or who just wants to expand their knowledge of the Unity game engine. It would be helpful to know how to navigate your way around Unity and some basic C# before getting started with this book; however, if you don’t, no worries – we will point you in the right direction!

Product Details
Recommended for You
Customer Reviews


by PowerReviews
oreillyUnity 2D Game Development

(based on 3 reviews)

Ratings Distribution

  • 5 Stars



  • 4 Stars



  • 3 Stars



  • 2 Stars



  • 1 Stars




of respondents would recommend this to a friend.


No Pros


No Cons

Best Uses

  • Intermediate (3)
    • Reviewer Profile:
    • Developer (3)

Reviewed by 3 customers

Displaying reviews 1-3

Back to top


No complaints here...

By Chevol

from Winston-Salem, NC

About Me Developer

Verified Reviewer


  • Accurate
  • Concise
  • Well-written


    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Unity 2D Game Development:

    Having a strong development background and someone that knows Unity and C#. I was looking for a book just to get me up to speed on the new 2D toolset introduced in Unity 4.3 and this book didn't disappoint. I would recommend this book for those who already have a solid foundation in Unity and C# but wants to get a better understanding of Unity's 2D tools and workflow. You can read a more in depth review here: http://desirelifesoftware.com/unity-2d-game-development-book-review/


    Not for beginners but...

    By K Oliver

    from UK

    About Me Designer, Developer


    • Easy to understand


    • Too many errors

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Unity 2D Game Development:

    ...good for those wanting to learn the new 2D tools.

    The book is written by David M. Calabrese and it's certainly not a dull read. Calabrese delivers instructions clearly, in an entertaining but logical and easy to follow manner. The book has been written for the reader to work through the topics from beginning to end. The first chapter takes the reader through the basics of setting up an environment, character creation and basic animation using 2D sprites. The creation of prefabs is also covered which is useful to those new to the Unity engine itself.

    I felt that the content of each chapter was important for the goal of creating a 2D game and relevant for the reader. The difficulty of the content was increased little by little and the small chunks that each chapter was divided into helps the reader digest everything slowly and take it in.

    The book examples are coded using C# and from a beginner's perspective if you are new to coding, you may not understand everything that's been used. The book does assume that you have some knowledge of coding, however I thought that all the important code chunks were explained so this should give a good idea of what does what.

    While working through the book I did come across code formatting that didn't align well within the book as it may have done in the original document. This only affected the comments so there was no harm done. However, I did come across an issue with the code within chapter 2. The code had errors when trying to compile because certain variables introduced in this chapter's code had not yet been defined. Luckily I was able to get around it, but if you were following this book and were new programming in C# this may cause an issue. It was only in the two later chapter's that these variables were defined so I may contact the author about this.

    I would have liked to have seen some consistent formatting to each chapter. I found that at the end of the later chapters Calabrese would summarise what he had covered which was a good way for the readers to recap on what they had just learned. I also noticed that during a later chapter Calabrese opened by stating what topics the chapter would cover which would be useful for someone using this book as a cookbook to work through individual topics throughout chapters instead of the entire book from beginning to end.

    Overall, I think this book served it's purpose. It introduces current Unity developers to the 2D tools in order to produce a basic 2D game. I wouldn't recommend this book to those completely new to Unity or programming in C# as I think a lot of knowledge used and talked about is assumed i.e. when he refers to events and delegates in the first couple of chapters. But for anyone with a basic grounding in Unity and C# I think this book is a great resource.

    (2 of 2 customers found this review helpful)


    Poorly organized, poorly explained

    By Lughead

    from San Diego, CA

    About Me Designer, Developer, Educator, Gamer, Maker, Sys Admin

    Verified Buyer


    • Interesting topic


    • Difficult to understand
    • Incoherent
    • Too many errors

    Best Uses

    • Intermediate

    Comments about oreilly Unity 2D Game Development:

    I am a mediocre programmer, but I'm a programmer nonetheless. I bought this book to help me get started with 2D game dev in Unity (derp), with which I have the most minimal experience. I was very excited to get started. The book starts out by developing a state machine, which is neat because it's the first time I've seen that implemented. That is basically where the pros stop.

    The book is organized in a way that encourages the reader to not understand the code, but to run it and observe the way it works. Not to understand the patterns, but to observe the output. When following page-for-page in the book, the author references lines that have not been discussed in the book yet (but are certainly in the final code included with the book). So to have any understanding of WHY I am supposed to do something, I have to:
    * Read ahead to see how to implement a concept before I am supposed to alter that implementation
    * Infer why the author recommends one pattern vs. another and the same inference with regards to implementation details (e.g., why using Translate() instead of AddForce())
    * Try to incrementally add only what I need for a particular chapter when the code snippets are basically taken straight from the finished code (but not even consistently).

    Finally, the code snippets have whitespace problems such that I had to look at the final code to see what a long, incoherent string was supposed to represent (e.g., floatjumpSpeed vs. flat jumpSpeed).

    In the end, read web articles about state machines and forego this book. This is my first Packt Publishing book and I will be avoiding any of their titles unless I can read for free and pay if it meets my expectations.

    Displaying reviews 1-3

    Back to top

    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook:  $14.99
    Formats:  ePub, Mobi, PDF