Sunday, August 8, 2010

Minor Update - AI

Been awhile since I posted something. With moving, starting a new job, and other things I haven't had much time to sit down and do some solid work. However, I was able to do some minor work recently, and should have a truly detailed post later this week.

As for this post, I was able to get some more of the core AI up and running. The character currently approaches and stops within certain distances, and when inside an attack range it will trigger an attack (which is just printing to the console now; real attacks will be put in later). The movement also doesn't consider if something is in the way of the enemy. It'll keep running into a wall or gate until it is out the way.

Some of the code is off and buggy, but it's a start. Hopefully by the end of the week I'll have a color-coded post up and maybe even a video.

No comments:

Post a Comment