|
AI Game Development. Synthetic Creatures with Learning and Reactive Behaviors Authors: Champandard A. J. Published year: 2003 Pages: 59-61/399 |
Case StudyAn essential part of navigation is the ability to avoid obstacles successfully. This accounts for many of the properties previously described. It's also a good place to start learning about game AI development because obstacle avoidance is a relatively simple task. To understand how obstacle avoidance works, it is worthwhile to analyze the behavior in different situations. The following list is a representative selection of all the possible states that the game character may encounter. For each scenario, the situation is briefly described and the desired outcome is explained (see Figure 6.3): Figure 6.3. Three different situations that require three different kinds of responses, ranging from quick turnaround to straight forward movement.
This list of expected actions, together with the four criteria of motion explained previously, forms the requirements for our obstacle-avoidance behavior. |
SummaryWhat has this chapter introduced about movement, and notably the different approaches to re-creating it?
The next chapter steps back and focuses on game AI development in general. Before continuing with our quest for autonomous movement, we're going to examine the process we've just been through: analyzing and understanding the problem. This will enable us to draft requirements in other situations when designing different AI components .
|
Chapter 7. Analysis and UnderstandingKey Topics
In any serious AI engineering process, the two first phases are analysis and understanding (or equivalents). Here, we lay the foundations for the rest of the AI development by describing what we already have, what we're trying to do, and how it's generally done. This is good software engineering practice generally , but it's especially important for the AI as the creation of behaviors is not as easily managed as software. The analysis phase aims to investigate the game environment, the engine, and existing software used for the development (a.k.a. the platform). When the game engine is being developed in parallel with the AI, the analysis takes into account its design document instead -with little impact on the AI analysis. The understanding phase uses the high-level requirements and goals to analyze of the problem at hand, irrespective of the game engine and for the sake of the AI development only. Both stages are relatively informal, because we deal with English descriptions. It's vital to spend some time on this for all problems tackled. Already at this stage of the development, we should have such thoughts on paper -or even in digital form. It's imperative to write them down somewhere (for instance, along with the development log) because they'll undoubtedly come in handy, and prevent us from forgetting them later -thereby wasting time revisiting closed issues. This chapter covers the following topics:
This chapter provides as much advice as possible to help deal with this informal process as rigorously as possible and to maximize its benefits. |
|
AI Game Development. Synthetic Creatures with Learning and Reactive Behaviors Authors: Champandard A. J. Published year: 2003 Pages: 59-61/399 |
![]() Artificial Intelligence for Games, Second Edition | ![]() Programming Game AI by Example | ![]() Behavioral Mathematics for Game AI |
![]() Artificial Intelligence for Games, Second Edition | ![]() Programming Game AI by Example |
![]() Behavioral Mathematics for Game AI |