English | 22 Jul. 2017 | ISBN: 1548877719 | ASIN: B074643C4F | 375 Pages | AZW3 | 16.68 MB
Why this book can help you to create games that are more fun and challengingCreating a game that is both fun and challenging, and that players will love, can be very difficult, regardless of your experience in game programming.
This is because a player often needs to be constantly challenged, yet not frustrated with your game. This is a very challenging balance to reach; however, by including artificial intelligence to your game, and some very simple principles, you can manage to make the game fun, and the Non-Player Characters (NPC) more realistic, by making sure that they behave in a way that will challenge the user.
Regardless of your background, you will always need to use some of these techniques, because good AI can really make a difference between a boring game and an exciting game that the players will want to play for hours.
Thankfully, you can easily overcome these issues and start to implement interesting AI with a step-by-step approach that gets you to progressively develop your knowledge and mastery of Artificial Intelligence with Unity. This is the approach that I have used successfully over the past years to help students create 3D games that are both challenging and addictive, thanks to a well-designed Artificial Intelligence using Unity and C#.
By following the techniques and suggestions described in this book, I can promise you that you will manage to create some very challenging games with NPCs that are smart, believable, and more importantly, challenging to the player.
Content and structure of this book
In this book, the first in the series called "Unity from Proficiency to Mastery", you will learn and apply several AI techniques for 3D games, and make it possible for NPCs to:
Navigate the scene (e.g., using a random or set path).
Sense the world around them (e.g, hear, smell, or see).
Take smart decisions based on their senses or current state (e.g., look for ammunition or health when these run low).
React to the players' moves (e.g., set an ambush, follow and attack the player, or flee).
Along the way you will also learn other useful skills and concepts such as:
Finite-State Machines in Unity,
Animator Controllers,
3D character animation,
Navigation costs and areas
State Behaviors,
Group movement,
Melee combat, and much more…
The main idea behind this book is to help you to apply common AI techniques with Unity and C# to make your game more challenging and fun to play.
The content of each chapter is as follows:
Chapter 1 shows you how to create a simple AI for your 3D games with no coding involved;
Chapter 2 shows you how to create different types of navigation for your NPCs, including set paths, random paths, and wandering aimlessly.
Chapter 3 shows you how to add senses to the NPC so that they can detect targets and take decisions accordingly.
Chapter 4 shows how to make it possible for the NPCs to take more sensible decisions based on the environment and their own state.
Chapter 5 shows how to implement group behaviors for NPCs. You will learn how to create a group of NPCs that follow the order of the player (e.g., follow the leader, attack targets or withdraw from the battle) and to create a team of NPCs led by the computer;
Chapter 6 provides answers to frequently-asked questions.
If you want to start creating fun and challenging 3D games using a tried-and-tested method: download this book now!
TO MAC USERS: If RAR password doesn't work, use this archive program:
RAR Expander 0.8.5 Beta 4 and extract password protected files without error.
TO WIN USERS: If RAR password doesn't work, use this archive program:
Latest Winrar and extract password protected files without error.