Mastering Unity 5.x

Create amazing games with solid gameplay features, using a professional-grade workflow inside the Unity engine!

Mastering Unity 5.x

Alan Thorn

Create amazing games with solid gameplay features, using a professional-grade workflow inside the Unity engine!
Mapt Subscription
FREE
$29.99/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.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
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785880742
Paperback592 pages

Book Description

Do you want to take the leap from being an everyday Unity developer to being a pro game developer? Then look no further! This book is your one stop solution to creating mesmerizing games with lifelike features and amazing gameplay.

This book takes an in-depth focus on a practical project with Unity, building a first-person game with many features. You’ll dive deep into the architecture of a Unity game, creating expansive worlds, interesting render effects, and other features to make your games special. You will create individual game components, use efficient animation techniques, and implement collision and physics effectively. Specifically, we’ll explore optimal techniques for importing game assets, such as meshes and textures; tips and tricks for effective level design; how to animate and script NPCs; how to configure and deploy to mobile devices; how to prepare for VR development; and how to work with version control, and more.

By the end of this book, you’ll have developed sufficient competency in Unity development to produce fun games with confidence.

Table of Contents

Chapter 1: Preparation and Asset-Configuring
Getting clear on design
Asset preparation
Asset importing for Dead Keys
Summary
Chapter 2: Level Design and Structure
Setting the scene with a skybox
Level building - modular construction sets
Level building - organization and structure
Level design - tips and tricks
Level lighting - preparation
Getting started with lightmapping
Baking lightmaps - resolution and size
Baking lightmaps - details
Light Probes
Lighting FAQ
Navigation mesh
Occlusion Culling
Creating a player camera
Particle systems
Music and audio
Summary
Chapter 3: Player Controls - Movement
Player movement
Zombie combat
Creating player waypoints
Animating the camera
Configuring an animator graph
Working with animation - creating the navigator
Navigator GUI
Summary
Chapter 4: Player Controls - Typing and Health
Word combat
Creating a word list
Using Visual Studio Code
Creating a WordList class
Matching words
The Typer object
Progressing with the Typer class
Health and damage
Damage and feedback
Player score
Bonus items
Summary
Chapter 5: Enemies and Artificial Intelligence
Configuring the zombie character
Getting started with the zombie Prefab
Planning the zombie Artificial Intelligence
Developing state structure
Developing an NPC Animator Controller
Developing the Idle state
Developing the Chase state
Developing the Attack state and more
Developing the Dead state
Zombies and text input
Zombies and the Typer class
Activating enemies and camera paths
Working with Play mode
Summary
Chapter 6: Project Management and Version Control
Project Management
Applied Project Management using Trello
Collaboration with cloud storage
Version control using Git
Getting started with Git and GitKraken
Configuring Unity for version control
Reverting and discarding
Branches and branching
Conflicts and resolving
Git and the Web
Pushing and pulling
Cloning
Summary
Chapter 7: Persistent Data - Load and Save Game States
Data Serialization
Player preferences - saving data
Player preferences - loading data
Player preferences - INI files
Saving data - XML files
Saving data - JSON files
Saving data - binary files
Saving data for Dead Keys
Summary
Chapter 8: Performance, Optimization, Mobiles, and More
Stats and performance
Profiler and performance assessment
Optimization tips and tricks
Getting started with mobile development
Moving forwards with mobile development
Building for Android
Building for VR (Virtual Reality)
Summary

What You Will Learn

  • Explore hands-on tasks and real-world scenarios to make a Unity horror adventure game
  • Create enemy characters that act intelligently and make reasoned decisions
  • Use data files to save and restore game data in a way that is platform-agnostic
  • Get started with VR development 
  • Use Navigation Meshes, Occlusion Culling, and the Profiler tools
  • Work confidently with GameObjects, Rotations, and Transformations
  • Understand specific gameplay features such as AI enemies, inventory systems, and level design

Authors

Table of Contents

Chapter 1: Preparation and Asset-Configuring
Getting clear on design
Asset preparation
Asset importing for Dead Keys
Summary
Chapter 2: Level Design and Structure
Setting the scene with a skybox
Level building - modular construction sets
Level building - organization and structure
Level design - tips and tricks
Level lighting - preparation
Getting started with lightmapping
Baking lightmaps - resolution and size
Baking lightmaps - details
Light Probes
Lighting FAQ
Navigation mesh
Occlusion Culling
Creating a player camera
Particle systems
Music and audio
Summary
Chapter 3: Player Controls - Movement
Player movement
Zombie combat
Creating player waypoints
Animating the camera
Configuring an animator graph
Working with animation - creating the navigator
Navigator GUI
Summary
Chapter 4: Player Controls - Typing and Health
Word combat
Creating a word list
Using Visual Studio Code
Creating a WordList class
Matching words
The Typer object
Progressing with the Typer class
Health and damage
Damage and feedback
Player score
Bonus items
Summary
Chapter 5: Enemies and Artificial Intelligence
Configuring the zombie character
Getting started with the zombie Prefab
Planning the zombie Artificial Intelligence
Developing state structure
Developing an NPC Animator Controller
Developing the Idle state
Developing the Chase state
Developing the Attack state and more
Developing the Dead state
Zombies and text input
Zombies and the Typer class
Activating enemies and camera paths
Working with Play mode
Summary
Chapter 6: Project Management and Version Control
Project Management
Applied Project Management using Trello
Collaboration with cloud storage
Version control using Git
Getting started with Git and GitKraken
Configuring Unity for version control
Reverting and discarding
Branches and branching
Conflicts and resolving
Git and the Web
Pushing and pulling
Cloning
Summary
Chapter 7: Persistent Data - Load and Save Game States
Data Serialization
Player preferences - saving data
Player preferences - loading data
Player preferences - INI files
Saving data - XML files
Saving data - JSON files
Saving data - binary files
Saving data for Dead Keys
Summary
Chapter 8: Performance, Optimization, Mobiles, and More
Stats and performance
Profiler and performance assessment
Optimization tips and tricks
Getting started with mobile development
Moving forwards with mobile development
Building for Android
Building for VR (Virtual Reality)
Summary

Book Details

ISBN 139781785880742
Paperback592 pages
Read More

Read More Reviews

Recommended for You

Unity Character Animation with Mecanim Book Cover
Unity Character Animation with Mecanim
$ 39.99
$ 28.00
Unity 5.x Cookbook Book Cover
Unity 5.x Cookbook
$ 43.99
$ 30.80
Procedural Content Generation for Unity Game Development Book Cover
Procedural Content Generation for Unity Game Development
$ 39.99
$ 28.00
Unity AI Game Programming - Second Edition Book Cover
Unity AI Game Programming - Second Edition
$ 39.99
$ 28.00
Unity UI Cookbook Book Cover
Unity UI Cookbook
$ 39.99
$ 28.00
Unity 5 Game Optimization Book Cover
Unity 5 Game Optimization
$ 35.99
$ 25.20