Book Image

Building a Game with Unity and Blender

Book Image

Building a Game with Unity and Blender

Overview of this book

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.
Table of Contents (16 chapters)
Building a Game with Unity and Blender
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Building rock models


Next, we will construct rock models that will be used throughout the level. Props like this add variation to the level and hide texture seams on both the terrain and tunnel wall. We will get into this later on.

The easiest way to build a rock model is to start from a cube, and then slowly refine the shape using the loop-cut and knife tool. The knife tool is a handy tool in Blender that is used to split polygons into pieces. A user can initiate the knife tool by pressing K, and can define the cutting line by first clicking at the beginning of the line, followed by clicking on where you want the line to end.

In the following example, a cube is created using Shift + A and then going to Mesh | Cube. Then, enter Edit mode by pressing Tab, and then press Ctrl + R to initiate the Loop Cut tool. With this tool, cut the cube twice in two different directions and adjust the vertices manually to make it look more rounded. After this, use the knife tool by pressing K and cut out the...