O'Reilly logo

Artificial Intelligence for Games, 2nd Edition by John Funge, Ian Millington

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

image Chapter 3

Movement

One of the most fundamental requirements of AI is to move characters around in the game sensibly. Even the earliest AI-controlled characters (the ghosts in Pac-Man, for example, or the opposing bat in some Pong variants) had movement algorithms that weren’t far removed from the games on the shelf today. Movement forms the lowest level of AI techniques in our model, shown in Figure 3.1.

Figure 3.1

Figure showing the AI model

The AI model

Many games, including some with quite decent-looking AI, rely solely on movement algorithms and don’t have any more ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required