In this article, Alex Champandard describes how to accelerate Multi-threading Line-of-Sight calculations to improve AI sensory system performance through the concept of a centralized sensory system using a mini-game prototype AI Sandbox.
One of the first things that game AI developers parallelize is pathfinding as it is an expensive operation. The most common approach is to fire off the pathfinder in a separate thread. This article examines a multi-threaded pathfinding implementation.
Writing artificial intelligence (AI) might be the best job in games. It’s creative, challenging, and blurs the line between game design and programming. AI is used for a variety of tasks ranging from the mechanical (such as auto-attacking enemies) and bot AI, to flocking group intelligence, even to deep-thinking military generals. Games that emphasize story and character-based immersion such as...
For more complete information about compiler optimizations, see our Optimization Notice.