Free Sample
+ Collection

Unity 3.x Game Development Essentials

Will Goldstone

If you have an idea for a game but lack the skills to create it, this book is the perfect introduction. There’s lots of handholding through all the essentials, culminating in the building of a full 3D game.
RRP $29.99
RRP $49.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 139781849691444
Paperback488 pages

About This Book

  • Kick start your game development, and build ready-to-play 3D games with ease.
  • Understand key concepts in game design including scripting, physics, instantiation, particle effects, and more.
  • Test & optimize your game to perfection with essential tips-and-tricks.
  • Written in clear, plain English, this book takes you from a simple prototype through to a complete 3D game with concepts you’ll reuse throughout your new career as a game developer.
  • Learn game development in Unity version 3 and above, and learn scripting in either C# or JavaScript
  • Download a glossary of technical terms from the book
  • Download color images from the book

Who This Book Is For

If you’re a designer or animator who wishes to take their first steps into game development or prototyping, or if you’ve simply spent many hours sitting in front of video games, with ideas bubbling away in the back of your mind, Unity and this book should be your starting point. No prior knowledge of game production is required, inviting you to simply bring with you a passion for making great games.

Table of Contents

Chapter 1: Enter the Third Dimension
Getting to grips with 3D
Rigidbody physics
Essential Unity concepts
The interface
Chapter 2: Prototyping and Scripting Basics
Your first Unity project
A basic prototyping environment
Introducing scripting
Understanding Translate
Testing the game so far
Storing with prefabs
Using Instantiate() to spawn objects
Chapter 3: Creating the Environment
Designing the game
Using the terrain editor
Chapter 4: Player Characters and Further Scripting
Working with the Inspector
Anatomy of a character
Deconstructing the First Person Controller object
Further scripting
Full example
Inter-script communication and Dot Syntax
Scripting for character movement
Chapter 5: Interactions
External modeling applications
Setting up the outpost model
Adding the outpost
Collisions and triggers
Ray casting
Opening the outpost
Chapter 6: Collection, Inventory, and HUD
Creating the power cell prefab
Scattering power cells
Writing the Player Inventory
Restricting outpost access
Displaying the power cell HUD
Hints for the player
Chapter 7: Instantiation and Rigidbodies
Utilizing instantiation
Making the mini-game
Chapter 8: Particle Systems
What is a particle system?
Creating the task
Testing and confirming
Chapter 9: Designing Menus
Interfaces and menus
Creating the menu with GUITextures and mouse events
Creating the menu with the Unity GUI class and GUI skins
Chapter 10: Animation Basics
Game win sequence
Chapter 11: Performance Tweaks and Finishing Touches
Terrain tweaks and player position
Positioning the player
Optimizing performance
Finishing touches
Chapter 12: Building and Sharing
Build options
Build Settings
Player Settings
Quality Settings
Player Input settings
Building the game
Sharing your work
Chapter 13: Testing and Further Study
Learn by doing
Testing and finalizing
Approaches to learning

What You Will Learn

  • An understanding of the Unity 3D Engine and game development
  • Write code for game development in either C# or JavaScript
  • Build a 3D island and set of mini-games for your players
  • Incorporate terrains and externally produced 3D models to get your game environment up and running
  • Create player character interactions
  • Combine scripting and animation to transform your static objects into dynamic interactive game elements
  • Add realistic effects to your games by using particle systems
  • Create a stylish and efficient menu, and animate other interface elements
  • Use Lightmapping to make your game environments look more professional
  • Deploy your game to the web and desktop and share it with the wider world for testing and feedback.


In Detail

Game Engines such as Unity are the power-tools behind the games we know and love. Unity is one of the most widely-used and best loved packages for game development and is used by everyone, from hobbyists to large studios, to create games and interactive experiences for the web, desktop, mobile, and console. With Unity’s intuitive, easy to learn toolset and this book – it’s never been easier to become a game developer.

Taking a practical approach, this book will introduce you to the concepts of developing 3D games, before getting to grips with development in Unity itself – prototyping a simple scenario, and then creating a larger game. From creating 3D worlds to scripting and creating game mechanics you will learn everything you’ll need to get started with game development.

This book is designed to cover a set of easy-to-follow examples, which culminate in the production of a First Person 3D game, complete with an interactive island environment. All of the concepts taught in this book are applicable to other types of game, however, by introducing common concepts of game and 3D production, you'll explore Unity to make a character interact with the game world, and build puzzles for the player to solve, in order to complete the game. At the end of the book, you will have a fully working 3D game and all the skills required to extend the game further, giving your end-user, the player, the best experience possible. Soon you will be creating your own 3D games with ease!


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