AI

I started reading some articles on AI today. I’m either going to use Neural Networks or Potential Fields, which basically assign a very high number to the start position and loop through and as you get closer to the goal, the number decreases. All objects are given the highest possible value. The lower values are where you want to go, and higher are where you stay away from. Then, you just loop through the pixels or tiles surrounding you and you choose the lowest of those. Pretty simple.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: