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