O'Reilly logo

The Game Maker’s Apprentice: Game Development for Beginners by Mark Overmars, Jacob Habgood

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

Chapter 14. Intelligent Behavior: Animating the Dead

An interesting and challenging game must involve tricky opponents that require clever thinking or quick reactions to defeat. Up to now, the enemies in our games behaved rather stupidlythey were just following predefined rules or attacking randomly. In this chapter we will make the enemies a bit more intelligent, but care must be taken that we do not make them too cleverwe still want the player to be able to win the game.

To facilitate this, we'll introduce some artificial intelligence (AI) techniques in this chapterthis term will probably conjure up images of powerful intelligent robot or cyborg opponents, the likes of which are seen in futuristic movies. This may sound like a complicated topic, ...

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