You are previewing Building a Game with Unity and Blender.
O'Reilly logo
Building a Game with Unity and Blender

Book Description

Learn how to build a complete 3D game using the industry-leading Unity game development engine and Blender, the graphics software that gives life to your ideas

About This Book

  • Learn the fundamentals of two powerful tools and put the concepts into practice

  • Find out how to designand buildall the core elements required for a great game - from characters to environments, to props—

  • Learn how to integrate Artificial Intelligence (AI) into your game for sophisticated and engaging gameplay

  • Who This Book Is For

    This book has been created for anyone who wants to learn how to develop their own game using Blender and Unity, both of which are freely available, yet very popular and powerful, tools. Not only will you be able to master the tools, but you will also learn the entire process of creating a game from the ground up.

    What You Will Learn

  • Design and create a game concept that will determine how your game will look and how it will be played

  • Construct 3D models of your game characters and create animations for them before importing them into the game

  • Build the game environment from scratch by constructing the terrain and props, and eventually put it all together to form a scene

  • Import and integrate game assets created in Blender into Unity—for example, setting up textures, materials, animation states, and prefabs

  • Develop game structures including a game flow, user interface diagram, game logic, and a state machine

  • Make the game characters move around and perform certain actions either through player inputs or fully controlled by artificial intelligence

  • Create particles and visual effects to enhance the overall visual aesthetic

  • Deploy the game for various types of platforms

  • In Detail

    In the wake of the indie game development scene, game development tools are no longer luxury items costing up to millions of dollars but are now affordable by smaller teams or even individual developers. Among these cutting-edge applications, Blender and Unity stand out from the crowd as a powerful combination that allows small-to-no budget indie developers or hobbyists alike to develop games that they have always dreamt of creating.

    Starting from the beginning, this book will cover designing the game concept, constructing the gameplay, creating the characters and environment, implementing game logic and basic artificial intelligence, and finally deploying the game for others to play. By sequentially working through the steps in each chapter, you will quickly master the skills required to develop your dream game from scratch.

    Style and approach

    A step-by-step approach with tons of screenshots and sample code for readers to follow and learn from. Each topic is explained sequentially and placed in context so that readers can get a better understanding of every step in the process of creating a fully functional game.

    Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

    Table of Contents

    1. Building a Game with Unity and Blender
      1. Table of Contents
      2. Building a Game with Unity and Blender
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the color images of this book
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Creating Your Game Concept
        1. Job roles in game development
        2. Gameplay design
          1. Starting point
          2. Choosing a game genre
          3. Game mechanics
          4. Level design
          5. Rapid prototyping
        3. Writing the game's story
        4. Choosing a visual style
        5. The characters concept
        6. The environment concept
        7. Summary
      9. 2. Creating Characters
        1. Downloading Blender
          1. A brief history of Blender
          2. The basic user interface of Blender
        2. Creating the monster's 3D model
        3. Unwrapping the monster's UV map
        4. Creating the monster's texture
        5. Creating the player character's 3D model
        6. Unwrapping the player character's UV map
        7. Summary
      10. 3. Animating Your Characters
        1. What is character rigging?
        2. Creating a monster's armature
        3. Creating the player character's armature
        4. Weight painting
        5. Animating characters
        6. The 12 basic principles of animation
        7. Summary
      11. 4. Creating the Environment
        1. Building terrain and wall models
        2. Building rock models
        3. Creating rock and wall textures
        4. Building grass models
        5. Creating the grass texture
        6. Summary
      12. 5. Integrating Your Assets into the Game
        1. Basic user interface of Unity
        2. Importing environment assets
          1. Introducing prefabs
          2. Setting up the terrain
          3. Setting up water surfaces
          4. Setting up foliage
          5. Setting up environment lighting
          6. Optimizing the scene with Occlusion Culling
        3. Importing character assets
        4. Summary
      13. 6. Developing the Game Structure
        1. Introduction to game structure design
        2. Planning the game flow
        3. Designing the user interface structure
        4. Player inputs and character movements
        5. Creating basic artificial intelligence
        6. Summary
      14. 7. Creating Levels and Game Progression
        1. Creating character attributes
        2. Adding in-game items and power-ups
        3. Improving enemy AI
        4. Adding save points
        5. Summary
      15. 8. Post-Production and Visual FX
        1. A basic particle system
        2. Mist particles
        3. Torch fire
        4. Image FX
        5. Quality settings
        6. Summary
      16. 9. Deploying the Game
        1. Build settings
          1. Shared settings
          2. The webplayer
          3. PC, Mac, and Linux standalone
          4. iOS
          5. Android
          6. WebGL
            1. Optimization level
        2. Player Settings
          1. Cursor hotspot
        3. Summary
      17. Index