Unity 2017 2D Game Development Projects

Build classic arcade, shooter and platform games with Unity 2D toolset
Preview in Mapt

Unity 2017 2D Game Development Projects

Lauren S. Ferro, Francesco Sapio

Build classic arcade, shooter and platform games with Unity 2D toolset

Quick links: > What will you learn?> Table of content

Mapt Subscription
FREE
$29.99/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Unity 2017 2D Game Development Projects Book Cover
Unity 2017 2D Game Development Projects
$ 35.99
$ 25.20
2D Game Development with Unity 5.x [Video] Book Cover
2D Game Development with Unity 5.x [Video]
$ 124.99
$ 106.25
Buy 2 for $35.00
Save $125.98
Add to Cart

Book Details

ISBN 139781786460271
Paperback338 pages

Book Description

2D games are everywhere! Timeless and popular, 2D games represent a substantial segment of the games market. The Unity engine has revolutionized the gaming industry, by making it easier for game developers to create quality games on a budget. If you are looking for a guide to create 2D games using Unity 2017, look no further. With this book, you will learn all the essentials of 2D game development by creating three epic games in a step-by-step manner throughout the course of this book.

The first game will have you collecting as many cakes as possible. The second will transport you to outer space to traverse as far as possible while avoiding enemy spaceships. The last game will have you running and jumping across platforms to collect coins and other exotic items.

Throughout all these three games, you will create characters, make them move, and create some enemies. And then, of course, write code to destroy them!. After showing you the necessities of creating a game, this book will then help you to porting the game to a mobile platform, and provide a path to publish it on the stores.

By the end of this book, you will not only have created three complete great games, but be able to apply your knowledge to create and deploy your own games.

Table of Contents

Chapter 1: Press Start
Atoms of games
Different approaches to games
The game design process
Developing 2D games
The Unity Engine
An overview of built-in features in Unity
Preparing for the projects in this book
Summary
Chapter 2: Working with Assets
An overview of collecting games
Textures and Sprites
Sprite Render
Sprite Editor
Sprite Packer
Sprite Creator is your friend when you have no assets
Setting up the Angel Cakes project
Best practices
Summary
Chapter 3: Let’s Make Some Prefabs
Basics of audio and sound FX in Unity
Importing audio
Integrating background music in our game
Creating the Angel and the PlayerController
A brief overview of Unity's physics system
Assembling the Angel
Moving the character to the new position
Collectable system
Prefabs for our Game Objects
Building the Map
Summary
Chapter 4: It’s about U and I
Overview of the UI
Designing the user interface
Four types of UI
Usability and function
UI is not UX
Designing UIs for games
Introduction to the UI system in Unity
Building UIs in Angel Cakes
Creating a Game Over Screen
Last tweaks
Testing
Summary
Chapter 5: Freeze! Creating an Intergalactic Shooter
An overview of game #2
Designing game #2
Setting up the project for game #2
Introduction to the animation system
Summary
Chapter 6: No One Is Alone Forever
Creating a shooting system
Player controller
Enemy controller
Alternative enemy controller
Shooting with passion
Exercises
Summary
Chapter 7: Getting Serious About Gameplay
Building the UI
Building an infinite scrolling map
Creating the prefabs
Including power-ups
Spawning system
Testing the game
Exercises
Other things you could consider adding to the game
Summary
Chapter 8: Building a Tilemap and Importing it into Unity
Platforming games
Side-scrolling
Infinite scrolling/endless runner
Overview of the project for game #3 - RETROformer
Creating tiles
Introduction to the program - Tiled and Tiled2Unity
Changing level properties
Importing tilesets into Unity with Tiled2Unity
Post-Tiled2Unity 
Summary
Chapter 9: Look, It Moves
Advanced animations
Setting up the sprite sheet for the animations
Creating the animations from the sprite sheet
Building the Animation State Machine
Summary
Chapter 10: Let’s Get Physical
Physics Material 2D
Building the panda hero
Moving the panda
Player Controller
Summary
Chapter 11: Don’t Forget to Save!
Save and load systems
Jump pads
Wrapping up gameplay
Enhancing the environment
Testing
Summary
Chapter 12: The Nature of Export
Implementing mobile input for the game
Exporting the game
Summary

What You Will Learn

  • Work with Unity 2017's new 2D workflow and create a 2D scene
  • Set the scene with different types of backgrounds, either static or dynamically using a tileset
  • Bring your character to life through simple animations
  • Understand the core concepts of programming by creating basic code that controls a character and destroys an enemy
  • Create buttons and game controls by using code snippets for input detection
  • Develop three 2D games from genres such as classic arcade, space shooter, and platformer games
  • Add audio and feedback and deploy your games

Authors

Table of Contents

Chapter 1: Press Start
Atoms of games
Different approaches to games
The game design process
Developing 2D games
The Unity Engine
An overview of built-in features in Unity
Preparing for the projects in this book
Summary
Chapter 2: Working with Assets
An overview of collecting games
Textures and Sprites
Sprite Render
Sprite Editor
Sprite Packer
Sprite Creator is your friend when you have no assets
Setting up the Angel Cakes project
Best practices
Summary
Chapter 3: Let’s Make Some Prefabs
Basics of audio and sound FX in Unity
Importing audio
Integrating background music in our game
Creating the Angel and the PlayerController
A brief overview of Unity's physics system
Assembling the Angel
Moving the character to the new position
Collectable system
Prefabs for our Game Objects
Building the Map
Summary
Chapter 4: It’s about U and I
Overview of the UI
Designing the user interface
Four types of UI
Usability and function
UI is not UX
Designing UIs for games
Introduction to the UI system in Unity
Building UIs in Angel Cakes
Creating a Game Over Screen
Last tweaks
Testing
Summary
Chapter 5: Freeze! Creating an Intergalactic Shooter
An overview of game #2
Designing game #2
Setting up the project for game #2
Introduction to the animation system
Summary
Chapter 6: No One Is Alone Forever
Creating a shooting system
Player controller
Enemy controller
Alternative enemy controller
Shooting with passion
Exercises
Summary
Chapter 7: Getting Serious About Gameplay
Building the UI
Building an infinite scrolling map
Creating the prefabs
Including power-ups
Spawning system
Testing the game
Exercises
Other things you could consider adding to the game
Summary
Chapter 8: Building a Tilemap and Importing it into Unity
Platforming games
Side-scrolling
Infinite scrolling/endless runner
Overview of the project for game #3 - RETROformer
Creating tiles
Introduction to the program - Tiled and Tiled2Unity
Changing level properties
Importing tilesets into Unity with Tiled2Unity
Post-Tiled2Unity 
Summary
Chapter 9: Look, It Moves
Advanced animations
Setting up the sprite sheet for the animations
Creating the animations from the sprite sheet
Building the Animation State Machine
Summary
Chapter 10: Let’s Get Physical
Physics Material 2D
Building the panda hero
Moving the panda
Player Controller
Summary
Chapter 11: Don’t Forget to Save!
Save and load systems
Jump pads
Wrapping up gameplay
Enhancing the environment
Testing
Summary
Chapter 12: The Nature of Export
Implementing mobile input for the game
Exporting the game
Summary

Book Details

ISBN 139781786460271
Paperback338 pages
Read More

Read More Reviews

Recommended for You

2D Game Development with Unity 5.x [Video] Book Cover
2D Game Development with Unity 5.x [Video]
$ 124.99
$ 106.25
Unity 2017 Game Development Essentials - Third Edition Book Cover
Unity 2017 Game Development Essentials - Third Edition
$ 35.99
$ 25.20
Beginning Game Development using Cocos2d-x v3 C++ [Video] Book Cover
Beginning Game Development using Cocos2d-x v3 C++ [Video]
$ 99.99
$ 85.00
Getting Started with Unity 5.x 2D Game Development Book Cover
Getting Started with Unity 5.x 2D Game Development
$ 35.99
$ 25.20
2D Game Programming in Unity [Video] Book Cover
2D Game Programming in Unity [Video]
$ 124.99
$ 106.25
Getting Started with Unity 2D Game Development [Video] Book Cover
Getting Started with Unity 2D Game Development [Video]
$ 124.99
$ 106.25