As I transition from developing systems to developing content, a larger ratio of my programming time is devoted to AI programming. Note: I’m discussing classical game AI – how NPCs make decisions – not the overhyped odious tech-fad of the same name.
Most recently, I coded the logic that pilots enemy jets: how to fly, when to turn, how to avoid obstacles, when to react to the player, and how to line up strafing attacks.
Music by EMMIE (Chiisana Kiseki) from the Project A-KO Greyside OST
Let’s break down the choices I made in the high-level technical design, as well as the syntax tricks I employ in low-level C++ code.