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 stupidly—they 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 clever—we still want the player to be able to win the game.
To facilitate this, we’ll introduce some artificial intelligence (AI) techniques in this chapter—this term will probably conjure up images of powerful intelligent robot ...
Get The Game Maker’s Apprentice: Game Development for Beginners now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.