Register your product to gain access to bonus material or receive a coupon.
In just 24 lessons of one hour or less, Sams Teach Yourself Unity Game Development in 24 Hours will help you master the Unity 5 game engine at the heart of Hearthstone: Heroes of Warcraft, Kerbal Space Program, and many other sizzling-hot games!
This book’s straightforward, step-by-step approach teaches you everything from the absolute basics through sophisticated game physics, animation, and mobile device deployment techniques. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success.
Learn how to…
Download the sample pages (includes Chapter 1 and Index)
Preface xiii
HOUR 1: Introduction to Unity 1
Installing Unity 1
Getting to Know the Unity Editor 4
Navigating the Unity Scene View 17
Summary 19
Q&A 19
Workshop 19
Exercise 20
HOUR 2: Game Objects 21
Dimensions and Coordinate Systems 21
Game Objects 25
Transforms 26
Summary 33
Q&A 33
Workshop 33
Exercise 34
HOUR 3: Models, Materials, and Textures 35
The Basics of Models 35
Textures, Shaders, and Materials 41
Summary 46
Q&A 46
Workshop 47
Exercise 47
HOUR 4: Terrain 49
Terrain Generation 49
Terrain Textures 57
Summary 61
Q&A 61
Workshop 61
Exercise 62
HOUR 5: Environments 63
Generating Trees and Grass 63
Environment Effects 71
Character Controllers 75
Summary 78
Q&A 78
Workshop 79
Exercise 79
HOUR 6: Lights and Cameras 81
Lights 81
Cameras 91
Layers 95
Summary 100
Q&A 100
Workshop 100
Exercise 101
HOUR 7: Game 1: Amazing Racer 103
Design 103
Creating the Game World 106
Gamification 108
Playtesting 114
Summary 116
Q&A 116
Workshop 116
Exercise 117
HOUR 8: Scripting—Part 1 119
Scripts 120
Variables 128
Operators 130
Conditionals