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

Animating characters


Before we start animating our game characters, we need to set an important setting. Go to the Render tab in the Properties panel and find the Frame Rate option. Change the frame rate to 60 fps because that's what video games are running at. If you chose another option instead, your animation will seem like it is being played at a very slow speed in the game engine. So, make sure that this option is set before you start animating your character because prevention is better than cure.

Game animation has adopted a technique from traditional animation named key-framing. Key-framing is the process of assigning a posture or specific parameter (such as position, rotation, and scale) to a character or object at a specific point in time. Each of these key-frames is then processed by the computer to generate the in-between frames through a process named interpolation. This eliminates the need to animate every single frame, which is a very tedious job.

There are several ways you...