You are previewing Unity Game Development in 24 Hours, Sams Teach Yourself®.
O'Reilly logo
Unity Game Development in 24 Hours, Sams Teach Yourself®

Book Description

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.

  • Quizzes and Exercises at the end of each chapter help you test your knowledge.

  • Notes present interesting information related to the discussion.

  • Tips offer advice or show you easier ways to perform tasks.

  • Cautions alert you to possible problems and give you advice on how to avoid them.

  • Learn how to…

  • Create and work with game objects, Unity’s fundamental building blocks

  • Work efficiently with Unity’s graphical asset pipeline

  • Apply shaders and textures to any 3D object

  • Sculpt stunning game worlds with Unity’s terrain and environmental toolsets

  • Script tasks ranging from capturing input to building complex behaviors

  • Quickly create repeatable, reusable game objects with prefabs

  • Implement easy, intuitive game user interfaces

  • Create amazing effects with Unity’s new Shuriken particle system

  • Leverage the full power of Unity’s new Mecanim animation system

  • Integrate ambient 2D/3D audio into your games

  • Use mobile device accelerometers and multi-touch displays

  • Modify a desktop game for mobile platforms

  • Apply the “finishing touches” and deploy your game

  • Table of Contents

    1. Contents
    2. Hour 1. Introduction to Unity
      1. Installing Unity
      2. Getting to Know the Unity Editor
      3. Navigating the Unity Scene View
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    3. Hour 2. Game Objects
      1. Dimensions and Coordinate Systems
      2. Game Objects
      3. Transforms
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    4. Hour 3. Models, Materials, and Textures
      1. The Basics of Models
      2. Textures, Shaders, and Materials
      3. Summary
      4. Q&A
      5. Workshop
      6. Exercise
    5. Hour 4. Terrain
      1. Terrain Generation
      2. Terrain Textures
      3. Summary
      4. Q&A
      5. Workshop
      6. Exercise
    6. Hour 5. Environments
      1. Generating Trees and Grass
      2. Environment Effects
      3. Character Controllers
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    7. Hour 6. Lights and Cameras
      1. Lights
      2. Cameras
      3. Layers
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    8. Hour 7. Game 1: Amazing Racer
      1. Design
      2. Creating the Game World
      3. Gamification
      4. Playtesting
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    9. Hour 8. Scripting Part 1
      1. Scripts
      2. Variables
      3. Operators
      4. Conditionals
      5. Iteration
      6. Summary
      7. Q&A
      8. Workshop
      9. Exercise
    10. Hour 9. Scripting Part 2
      1. Methods
      2. Input
      3. Accessing Local Components
      4. Accessing Other Objects
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    11. Hour 10. Collision
      1. Rigidbodies
      2. Collision
      3. Triggers
      4. Raycasting
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    12. Hour 11. Game 2: Chaos Ball
      1. Design
      2. The Arena
      3. Game Entities
      4. The Control Objects
      5. Improving the Game
      6. Summary
      7. Q&A
      8. Workshop
      9. Exercise
    13. Hour 12. Prefabs
      1. Prefab Basics
      2. Working with Prefabs
      3. Instantiating Prefabs through Code
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    14. Hour 13. Graphical User Interfaces
      1. GUI Basics
      2. GUI Controls
      3. Customization
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    15. Hour 14. Character Controllers
      1. The Character Controller
      2. Scripting for Character Controllers
      3. Building a Controller
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    16. Hour 15. Game 3: Captain Blaster
      1. Design
      2. The World
      3. Controls
      4. Improvements
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    17. Hour 16. Particle Systems
      1. Particle Systems
      2. Particle System Modules
      3. The Curve Editor
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    18. Hour 17. Animations
      1. Animation Basics
      2. Preparing a Model for Animation
      3. Applying Animations
      4. Scripting Animations
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    19. Hour 18. Animators
      1. Animator Basics
      2. Creating an Animator
      3. Scripting Animators
      4. Summary
      5. Q&A
      6. Workshop
      7. Exercise
    20. Hour 19. Game 4: Gauntlet Runner
      1. Design
      2. The World
      3. The Entities
      4. The Controls
      5. Room for Improvement
      6. Summary
      7. Q&A
      8. Workshop
      9. Exercise
    21. Hour 20. Game 1 [This content is currently in development.]
    22. Hour 21. Mobile Development
      1. Preparing for Mobile
      2. Accelerometers
      3. Summary
      4. Q&A
      5. Workshop
      6. Exercise
    23. Hour 22. Game Revisions
      1. Amazing Racer
      2. Chaos Ball
      3. Captain Blaster
      4. Gauntlet Runner
      5. Summary
      6. Q&A
      7. Workshop
      8. Exercise
    24. Hour 23. Deployment [This content is currently in development.]
    25. Hour 24. Wrap Up [This content is currently in development.]