Skip to Main Content
Learning XNA 3.0
book

Learning XNA 3.0

by Aaron Reed
November 2008
Beginner content levelBeginner
510 pages
16h 24m
English
O'Reilly Media, Inc.
Content preview from Learning XNA 3.0

Summary

  • Artificial intelligence means many different things, mainly because the term "intelligence" itself is ambiguous and difficult to define.

  • Alan Turing made great strides in the field of artificial intelligence. Much of his work is directly relevant to what game developers attempt to accomplish.

  • Irrelevant objects are objects that will no longer affect gameplay (e.g., a bullet that's shot into the sky and doesn't hit anything). These objects must be removed and deleted in order to not negatively impact performance as they accrue.

  • To implement a chase algorithm, detect the position of the player in relation to the chaser's current position, then move the chasing object in the direction of the player.

  • Implementing an evasion algorithm is the opposite of the chase algorithm: detect the position of the player and move the evading object in the opposite direction.

  • Just saying the words "artificial intelligence" makes you sound a lot more intelligent, artificially speaking, of course.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning XNA 4.0

Learning XNA 4.0

Aaron Reed
Beginning C# 7 Programming with Visual Studio 2017

Beginning C# 7 Programming with Visual Studio 2017

Benjamin Perkins, Jacob Vibe Hammer, Jon D. Reid

Publisher Resources

ISBN: 9780596154905Supplemental ContentErrata Page