A.I.

A.I. stands for artificial intelligence. A.I is used to control things not controlled by a player.

Introduction to Artificial Intelligence

A.I. (or artificial intelligence) is often an overstated part of game design and game programming. This is because A.I. is often misunderstood. Forget what you think you know about A.I. for a second and consider this :

  • Artificial Intelligence isn't very intelligent.

Take for example the 2D elevator. It isn't very intelligent but it is intelligent enough to do it's job. In the case of a 2D elevator it only has to be intelligent enough to know that the player object has stepped on it and to know whether or not it should go down or up. You could say that these 2D elevators are much like the "intelligent" elevators commonly seen in science fiction.

When you take this approach, programming A.I. in your game is no different than programming everything else. Another example of simple artificial intelligence is creating a "computer opponent" for your player to play against in a game of skill (such as Checkers).

To design something like this, first try playing a game of Checkers yourself. As you play the game consider the steps you make in order to decide on which move to make. Once you have broken down the steps, you will have the core of your game's A.I.

Simple A.I. Behaviors

Simple A.I. Behaviors are generally based on a calculation or pattern. Simple A.I. behaviors include avoiding, following, "boss patterns", and activation.

Related Pages

Links

To Do

  • RPG Monster A.I.
  • Remote bombs, smart mines, homing missiles
  • Attack within range / distance
  • Change / Decide between objects to follow
Categories: A.I. : Game Programming
page_revision: 20, last_edited: 1237840488|%e %b %Y, %H:%M %Z (%O ago)