Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
In just 24 sessions of one hour or less, Sams Teach Yourself Unity Game Development in 24 Hours will help you master the Unity 4 game engine at the heart of Temple Run and many other sizzling-hot mobile games! You’ll learn 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!
Step-by-step instructions carefully walk you through the most common Unity 4 game development tasks.
Learn how to…
Preface xi
HOUR 1: Introduction to Unity 1
Installing Unity 1
Getting to Know the Unity Editor 5
Navigating the Unity Scene View 18
Summary 20
Q&A 20
Workshop 21
Exercise 21
HOUR 2: Game Objects 23
Dimensions and Coordinate Systems 23
Game Objects 27
Transforms 28
Summary 34
Q&A 34
Workshop 35
Exercise 35
HOUR 3: Models, Materials, and Textures 37
The Basics of Models 37
Textures, Shaders, and Materials 42
Summary 48
Q&A 48
Workshop 49
Exercise 49
HOUR 4: Terrain 51
Terrain Generation 51
Terrain Textures 59
Summary 62
Q&A 62
Workshop 63
Exercise 63
HOUR 5: Environments 65
Generating Trees and Grass 65
Environment Effects 72
Character Controllers 77
Summary 79
Q&A 79
Workshop 79
Exercise 80
HOUR 6: Lights and Cameras 81
Lights 81
Cameras 90
Layers 94
Summary 98
Q&A 98
Workshop 98
Exercise 99
HOUR 7: Game 1: Amazing Racer 101
Design 101
Creating the Game World 104
Gamification 106
Playtesting 113
Summary 114
Q&A 114
Workshop 114
Exercise 115
HOUR 8: Scripting Part 1 117
Scripts 118
Variables 125
Operators 127
Conditionals &n