PacktLib: Unity 3.x Game Development Essentials

Unity 3.x Game Development Essentials

Credits

Foreword

About the Author

About the Reviewers

www.PacktPub.com

Preface

Enter the Third Dimension

Getting to grips with 3D

Rigidbody physics

Essential Unity concepts

The interface

Summary

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

Summary

Creating the Environment

Designing the game

Using the terrain editor

Summary

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

Summary

Interactions

External modeling applications

Setting up the outpost model

Adding the outpost

Collisions and triggers

Ray casting

Opening the outpost

Summary

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

Summary

Instantiation and Rigidbodies

Utilizing instantiation

Rigidbodies

Making the mini-game

Summary

Particle Systems

What is a particle system?

Creating the task

Testing and confirming

Summary

Designing Menus

Interfaces and menus

Creating the menu with GUITextures and mouse events

Creating the menu with the Unity GUI class and GUI skins

Summary

Animation Basics

Game win sequence

Summary

Performance Tweaks and Finishing Touches

Terrain tweaks and player position

Positioning the player

Optimizing performance

Finishing touches

Building and Sharing

Build options

Build Settings

Player Settings

Quality Settings

Player Input settings

Building the game

Sharing your work

Summary

Testing and Further Study

Learn by doing

Testing and finalizing

Approaches to learning

Summary

Index