Write efficient, reusable scripts to build custom characters, game environments, and control enemy AI in your Unity game with this book and ebook.
Make your characters interact with buttons and program triggered action sequences
Create custom characters and code dynamic objects and players’ interaction with them
Synchronize movement of character and environmental objects
Add and control animations to new and existing characters
Written in simple and step-by-step format with real life examples, this book is the only one in the market to focus on Unity Scripting
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.