O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sams Teach Yourself, Unity 2018 Game Development in 24 Hours, Third edition

Book Description

In just 24 lessons of one hour or less, Sams Teach Yourself Unity Game Development in 24 Hours will help you master the Unity 2018 game engine at the heart of Ori and the Blind Forest, Firewatch, Monument Valley, 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.

Step-by-step instructions carefully walk you through the most common Unity game development tasks.

Practical, hands-on examples show you how to apply what you learn.

Quizzes and exercises help you test your knowledge and stretch your skills.

Notes and Tips point out shortcuts and solutions

Learn how to…

  • Get up and running fast with the Unity 2018 game engine and editor
  • Work efficiently with Unity’s graphical asset pipeline
  • Make the most of lights and cameras
  • Sculpt stunning worlds with Unity’s terrain and environmental tools
  • Script tasks ranging from capturing input to building complex behaviors
  • Quickly create repeatable, reusable game objects with prefabs
  • Implement easy, intuitive game user interfaces
  • Control players through built-in and custom character controllers
  • Build realistic physical and trigger collisions
  • Leverage the full power of Unity’s Animation and new Timeline systems
  • Integrate complex audio into your games
  • Use mobile device accelerometers and multi-touch displays
  • Build engaging 2D games with Unity’s 2D tools and Tilemap
  • Apply the “finishing touches” and deploy your games

Table of Contents

  1. Cover Page
  2. Title Page
  3. Copyright Page
  4. Contents at a Glance
  5. Table of Contents
  6. About This E-Book
  7. Preface
  8. About the Author
  9. Dedication
  10. Acknowledgments
  11. We Want to Hear from You!
  12. Reader Services
  13. HOUR 1: Introduction to Unity
    1. Installing Unity
    2. Getting to Know the Unity Editor
    3. Navigating the Unity Scene View
    4. Summary
    5. QA
    6. Workshop
    7. Exercise
  14. HOUR 2: Game Objects
    1. Dimensions and Coordinate Systems
    2. Game Objects
    3. Transforms
    4. Summary
    5. QA
    6. Workshop
    7. Exercise
  15. HOUR 3: Models, Materials, and Textures
    1. The Basics of Models
    2. Textures, Shaders, and Materials
    3. Summary
    4. QA
    5. Workshop
    6. Exercise
  16. HOUR 4: Terrain and Environments
    1. Terrain Generation
    2. Terrain Textures
    3. Generating Trees and Grass
    4. Character Controllers
    5. Summary
    6. QA
    7. Workshop
    8. Exercise
  17. HOUR 5: Lights and Cameras
    1. Lights
    2. Cameras
    3. Layers
    4. Summary
    5. QA
    6. Workshop
    7. Exercise
  18. HOUR 6: Game 1: Amazing Racer
    1. Design
    2. Creating the Game World
    3. Gamification
    4. Playtesting
    5. Summary
    6. QA
    7. Workshop
    8. Exercise
  19. HOUR 7: Scripting, Part 1
    1. Scripts
    2. Variables
    3. Operators
    4. Conditionals
    5. Iteration
    6. Summary
    7. QA
    8. Workshop
    9. Exercise
  20. HOUR 8: Scripting, Part 2
    1. Methods
    2. Input
    3. Accessing Local Components
    4. Accessing Other Objects
    5. Summary
    6. QA
    7. Workshop
    8. Exercise
  21. HOUR 9: Collision
    1. Rigidbodies
    2. Enabling Collision
    3. Triggers
    4. Raycasting
    5. Summary
    6. QA
    7. Workshop
    8. Exercise
  22. HOUR 10: Game 2: Chaos Ball
    1. Design
    2. The Arena
    3. Game Entities
    4. The Control Objects
    5. Improving the Game
    6. Summary
    7. QA
    8. Workshop
    9. Exercise
  23. HOUR 11: Prefabs
    1. Prefab Basics
    2. Working with Prefabs
    3. Summary
    4. Q&A
    5. Workshop
    6. Exercise
  24. HOUR 12: 2D Game Tools
    1. The Basics of 2D Games
    2. Orthographic Cameras
    3. Adding Sprites
    4. Draw Order
    5. 2D Physics
    6. Summary
    7. Q&A
    8. Workshop
    9. Exercise
  25. HOUR 13: 2D Tilemap
    1. The Basics of Tilemaps
    2. Palettes
    3. Tiles
    4. Tilemaps and Physics
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  26. HOUR 14: User Interfaces
    1. Basic UI Principles
    2. The Canvas
    3. UI Elements
    4. Canvas Render Modes
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  27. HOUR 15: Game 3: Captain Blaster
    1. Design
    2. The World
    3. Controls
    4. Improvements
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  28. HOUR 16: Particle Systems
    1. Particle Systems
    2. Particle System Modules
    3. The Curves Editor
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercise
  29. HOUR 17: Animations
    1. Animation Basics
    2. Animation Types
    3. Animation Tools
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercise
  30. HOUR 18: Animators
    1. Animator Basics
    2. Configuring Your Assets
    3. Creating an Animator
    4. Scripting Animators
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  31. HOUR 19: Timeline
    1. Timeline Basics
    2. Working with Timelines
    3. Going Beyond Simple Control
    4. Summary
    5. Q&A
    6. Workshop
    7. Exercise
  32. HOUR 20: 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
  33. HOUR 21: Audio
    1. Audio Basics
    2. Audio Sources
    3. Audio Scripting
    4. Audio Mixers
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  34. HOUR 22: Mobile Development
    1. Preparing for Mobile
    2. Accelerometers
    3. Summary
    4. Q&A
    5. Workshop
    6. Exercise
  35. HOUR 23: Polish and Deploy
    1. Managing Scenes
    2. Persisting Data and Objects
    3. Unity Player Settings
    4. Building Your Game
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  36. HOUR 24: Wrap-up
    1. Accomplishments
    2. Your 19 Hours of Learning
    3. Where to Go from Here
    4. Resources Available to You
    5. Summary
    6. Q&A
    7. Workshop
    8. Exercise
  37. Index
  38. Code Snippets