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

thumbs, preventing the twiddling of, 370-372
tiered AI, 145, 152
tile-based navigation graph, 333-334, 339
time, 29
physics, 28
unit of, 28
time-sliced path planning, 363-370
time-sliced search request, registering,
369-370
time-slicing, 363
topology, of graph, 209
Towers of Hanoi puzzle, 201-203
trajectory, soccer ball, 141
transform, local and world coordinate system,
27, 28
trees, 193, 196
triangles, 12-17
acute, 13
equilateral, 13
isosceles, 13
obtuse, 13
right-angled, 13
types of, 12
Trigger C++ class, 305-307
and navigation graph, 341
trigger region, 303
Trigger_HealthGiver::Try C++ method, 309
Trigger_LimitedLifetime C++ class, 309-310
Trigger_SoundNotification C++ class, 310
Trigger_WeaponGiver C++ class, 308
Trigger_WeaponGiver::Try C++ method, 309
TriggerRegion C++ class, 304-305
triggers, 299, 303-312
and scripting, 413
class hierarchy, 304
deactivated, 309
giver-trigger, 308-309
health giver, 309
limited lifetime, 309-310
managing, 311-312
reactivated, 309
respawning, 307-308
sound notification, 310
weapon giver, 308-309
TriggerSystem C++ class, 311-312
trigonometry, 10-17
angle, 11
line segment, 10
ray, 10
truncation of steering behavior, 120-124
Turing, Alan, 44
two-variable function, 5
two-way heap data structure, 240
U
UML class diagrams, 465-474
unconnected graph, 195
and depth first search, 213
Unified Modeling Language, 465
uninformed graph searches, 210-231
union,
crisp set, 418
fuzzy set, 422
unit radius, 11
universe of discourse, 417, 418
Unreal Tournament, 249, 253, 255
update frequency, 328-331
user interface, 410
userdata, Lua type, 263
V
variables, 3
vector, 18
direction, 18
dot product, 23
graph, 194
magnitude, 18
quantity, 30
Vector2D C++ struct, 25
vectors, 18-26
adding, 19
calculating the magnitude, 20
multiplying, 20,
normalizing, 21
resolving, 22
subtracting, 19
Vehicle C++ class, 88
vehicle model,
physics, 89
steering behavior, 87-88
Vehicle::Update method, 89
velocity, 30
494 | Index

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