O'Reilly logo

Programming Game AI by Example by Mat Buckland

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

combining, 119-124
group, 113-119
truncating, 120-124
steering behaviors (types)
alignment, 116
arrive, 93
cohesion, 117
evade, 96
flee, 92
flocking, 118-119
hide, 107-110
interpose, 106-107
obstacle avoidance, 99-104
offset pursuit, 111-113
path following, 110-111
pursuit, 94-96
seek, 91
separation, 115-116
wall avoidance, 104-106
wander, 96-99
SteeringBehaviors C++ class, 88, 144
SteeringBehaviors::Alignment method, 116
SteeringBehaviors::Arrive method, 93, 97-98
SteeringBehaviors::Cohesion method, 117
SteeringBehaviors::Evade method, 96
SteeringBehaviors::Flee method, 92
SteeringBehaviors::FollowPath method, 111
SteeringBehaviors::Hide method, 109
SteeringBehaviors::Interpose method, 107
SteeringBehaviors::ObstacleAvoidance
method, 101-104
SteeringBehaviors::OffsetPursuit method, 112
SteeringBehaviors::Pursuit method, 94-95
SteeringBehaviors::Seek method, 91
SteeringBehaviors::Separation method,
115-116
SteeringBehaviors::WallAvoidance method,
105-106
SteeringBehaviors::Wander method, 97-98
stereo vision, 316
stigmergy, 118
straight line, equation for, 4
strategy, 380, 399
string, Lua type, 260
stuck, getting, 374-376
subgoal, 315, 383, 386, 412
super, Luabind keyword, 282
support spot, 146
SupportAttacker field player state, 156,
168-169
SupportAttacker::Enter C++ method, 168
SupportAttacker::Execute C++ method,
168-169
supporting player, 146
SupportSpot C++ struct, 148
SupportSpotCalculator C++ class, 147-151
T
table,
accessing, 262
accessing Lua in C++, 271-272
constructing, 262
table, Lua type, 261-263, 276, 286
table variable, Lua, 260
tagging, neighborhood radius, 113
TagNeighbors C++ function template, 114
tangent, of angle, 15
target selection, 321-323
criterion, 322-323
targeting, and Goal_AttackTarget, 396
team sport AI, 133
team, Simple Soccer, 134
tech-tree, 195
Telegram C++ struct, 70
telegrams, sorting, 75
teleporters, 353
templates,
C++, 459-464
class, 461-464
function, 459-461
temporary variables, 142
TendGoal goalkeeper state, 171-173
TendGoal::Enter C++ method, 171-172
TendGoal::Execute C++ method, 172-173
TendGoal::Exit C++ method, 173
terminal node, 211
termination condition,
graph search, 347-348
policy class, 347
theta, 12
thread, Lua type, 263
threat range, Simple Soccer, 175
three-variable function, 5
Index | 493

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