Summary:
Write efficient, reusable scripts to build custom
characters, game environments, and control enemy AI in your
Unity game.
In Detail
Unity is a powerful tool for anyone who aspires to build
interesting and sellable games. One of the exciting aspects
of Unity is how easily it can be extended to build custom
characters and game environments. Scripting is the key to
accomplish all this, but it comes with a steep learning
curve. This book will teach you everything you need to know about
scripting in Unity. It will take you through creating,
including and tweaking scripts for achieving various tasks.
Some of these tasks include controlling characters,
animations, controlling objects, handling game data and enemy
AI. The book will begin by building scripts for simple tasks
and continue to develop them for increasing level of
difficulty. The first few chapters include scripting to build
a custom game environment and creating characters and
controlling them. Arranging camera views, controlling and
creating animations are covered in the next set of
chapters. The book then moves on to build objects, animate them and
code character interaction with them and create inventories
where the characters can pick ammo, health and other such
objects. Towards the end, the book teaches how to add
background sound and discusses basic enemy AI scripting.
What will you learn from this book
Approach
The book is written in an easy to understand step-by-step
style. It covers real-world examples for every topic, so that
you gain most out of the book and are able to apply these
techniques straight into your game.
Who this book is written for
If you are a programmer interested in developing games
using Unity and want to customize your game by writing
scripts, then this is a book for you. To make the best use of
this book, you will have to know your way around Unity. The
book is ideal for someone, who has experience in building
games using Unity and knows a bit of programming; especially
JavaScript. However, if you are a programmer in any other
language, you should be able to grasp the book fairly
easily.
Volodymyr Gerasimov
Volodymyr Gerasimov is a Level Designer and Scripter. His
major passion is creation of modifications for popular games
and developing small indi projects, with scripting as a main
tool. He learned various scripting and programming languages
in The Art Institute of Vancouver. Having been introduced to
Unity in 2010 he created and worked on a number of projects,
indi games and prototypes. Latest one was hack and slash
action game Splik & Blitz: Baked in blood, where he
worked as Lead Level designer and Scripter. Right now he is
working on a couple of indi projects for iOS and PC.
Devon Kraczla
Devon Kraczla is an independent Game Developer. Having an
artistic background Devon came to the gaming industry to
explore new ways to surprise people with his creations. Over
the last few years, having graduated from The Art Institute
of Vancouver, Devon developed multiple independent projects,
both solo and with other enthusiasts. In his games Devon
focuses on simple and engaging game mechanics covered in
unique art style that makes his games appealing for hardcore
and casual audiences. Currently Devon is working on a new
project in a large group of passionate developers.
About the Author