Book description
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.
- 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
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!
Table of contents
-
Unity 3.xGame Development Essentials
- Table of Contents
- Unity 3.x Game Development Essentials
- Credits
- Foreword
- About the Author
- About the Reviewers
- www.PacktPub.com
- Preface
- 1. Enter the Third Dimension
-
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
- Summary
-
3. Creating the Environment
- Designing the game
-
Using the terrain editor
- Terrain menu features
- The terrain toolset
-
Creating the island—sun, sea, and sand
- Step 1—Setting up the terrain
- Step 2—Creating the Island outline
- Step 3—Volcano!
- Step 4—Adding textures
- Step 5—Tree time
- Step 6—The grass is always greener
- Step 7—Let there be lights!
- Step 8—What's that sound?
- Step 9—Look, there! Up in the skybox!
- Step 10—Open water
- Step 11—Going walkabout
- Step 12—Final tweaks
- Summary
- 4. Player Characters and Further Scripting
- 5. Interactions
-
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
- Summary
-
7. Instantiation and Rigidbodies
- Utilizing instantiation
- Rigidbodies
-
Making the mini-game
- Creating the coconut prefab
- Creating the Launcher object
- Scripting to throw coconuts
- Final checks
- Instantiate restriction and object tidying
- Adding the coconut shy shack
- Winning the game
- Finishing touches
- Summary
- 8. Particle Systems
-
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
- Summary
-
10. Animation Basics
-
Game win sequence
- Win sequence approach
- Triggering the win
- Creating the game win messages
- Animating with linear interpolation (Lerp)
- Creating the win object
-
Creating the Fader and using the Animation panel
- Scaling for various resolutions
- Starting the Fader from invisibility
- Animation panel overview
- Creating an animation clip
- Creating keyframes
- Using animation curves
- Adding animation events
- Creating and animating the Loading GUI
- Loading scenes with animation events
- Storing and instantiating the Loading GUI
- Loading the win sequence
- Layering GUITextures
- Challenge—fading in the Island scene
- Summary
-
Game win sequence
- 11. Performance Tweaks and Finishing Touches
- 12. Building and Sharing
- 13. Testing and Further Study
- Index
Product information
- Title: Unity 3.x Game Development Essentials
- Author(s):
- Release date: December 2011
- Publisher(s): Packt Publishing
- ISBN: 9781849691444
You might also like
book
Unity 3D Game Development
Create ready-to-play 3D games with reactive environments, sound, dynamic effects, and more! Key Features Build a …
book
Unity Game Development Essentials
If you have ambitions to be a game developer this guide is a must. Covering all …
video
Unity Game Development in 4 hours
Curious about game development but afraid to get into it because it seems too hard? Fear …
book
Mastering Unity 2017 Game Development with C# - Second Edition
Master realistic animations and graphics, particle systems, game AI and physics, sprites and VR development with …