Skip to content

PacktPublishing/Practical-Game-AI-Programming

Repository files navigation

Practical Game AI Programming

This is the code repository for Practical Game AI Programming, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Moving on, you’ll explore how to work with animations. You’ll also plan and create pruning strategies, and create Theta algorithms to find short and realistic looking game paths. Next, you’ll learn how the AI should behave when there is a lot of characters in the same scene.

You'll explore which methods and algorithms, such as possibility maps, Forward Chaining Plan, Rete Algorithm, Pruning Strategies, Wall Distances, and Map Preprocess Implementation should be used on different occasions. You’ll discover how to overcome some limitations, and how to deliver a better experience to the player. By the end of the book, you think differently about AI.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.

The code will look like the following:

if (playerPosition == "triggerM") 
{ 

  transform.LookAt(playerSoldier); // Face the direction of the   player
 
 transform.position = Vector3.MoveTowards
  (transform.position, 
 buildingPosition.position, walkBack);
 
 backwardsFire();
 
} 

It is recommended that you have install a game engine that uses C# (Unity3D has a free version, and it was used for the examples covered on the book).

Related Products

Download a free PDF

If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.

https://packt.link/free-ebook/9781787122819

About

Practical Game AI Programming, published by Packt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published