Free Sample
+ Collection

Unity 2D Game Development

Dave Calabrese

2D games aren’t just fun to play, with this book they’re a blast to develop. That’s because the guide takes you through every step of creating a fully featured platform game using Unity 4.3, easily and imaginatively.
RRP $14.99
RRP $24.99
Print + eBook

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781849692564
Paperback126 pages

About This Book

  • Build a 2D game using the native 2D development support in Unity 4.3
  • Create a platformer with jumping, falling, enemies, and a final boss
  • Full of exciting challenges which will help you polish your game development skills

Who This Book Is For

This book is ideal for anyone who wants to learn how to build 2D video games or wants to expand their knowledge of the Unity game engine. To get the most from this book, having knowledge of C# and Unity is important, however, if you are less experienced in these areas, this book still gives you all the necessary tools to create your own game.

Table of Contents

Chapter 1: Introduction to the 2D World of Unity
Remembering the past to build the future
The 2D world of Unity
The perspective camera
Getting grounded
Making new friends
Let's move it!
Gotta move it!
Make 'em run!
Chapter 2: It Lives!
Cameras – they now stalk us!
Falling to your doom!
Falling fatally into death colliders
Death and resurrection – respawning
Jump to it!
Not missing the ground
Wait, did I collide with something?
Got a glitch?
Making the world bigger
Let's get dangerous
Bullets are better when they hit things
Chapter 3: No Longer Alone
Making enemies
Make it move
Make it deadly
Let's go huntin'!
The swarm
Chapter 4: Give It Some Sugar
Expanding the world!
Parallax scrolling
Let's score!
Enemies – forever!
Chapter 5: The Ultimate Battle of Ultimate Destiny
Meet the king
Crown the king
Dusty platforms
Crushing defeat
Chapter 6: The Finishing Touches
Game rounds
Give it a start screen

What You Will Learn

  • Create a 2D game using Unity 4.3’s native 2D technologies
  • Control collisions using layered collision management
  • Manage events using basic timed sequencing – specifically, a boss battle
  • Discover how to track the score and game state
  • Design the development and deployment of state systems for object management
  • Use C# events and delegates to pass information between objects
  • Understand the usage of Unity’s tag system
  • Make 2D sprites make other 2D sprites explode with extreme prejudice

In Detail

Prepare yourself to travel back to the 90s and build a game like they used to make, 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! 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!


Read More

Recommended for You

Learning Unity 2D Game Development by Example
$ 26.99
Unity 4.x Game Development by Example: Beginner's Guide
$ 26.99
Mastering Unity 4 Scripting [Video]
$ 25.50
Getting Started with Unity 4 Scripting [Video]
$ 25.50