Showing posts with label AI. Show all posts
Showing posts with label AI. Show all posts

Saturday, July 17, 2010

You can run but you can't hide!

Something that I'm sure some of you will be glad to hear. I went back and added some proper pathfinding. Of course being the lazy bastard that I am I couldn't be arsed to code all that myself so I just downloaded some code from the internets and plugged it in, which probably saved me a week's worth of headache. It still took me several hours to figure out how to work it into my program but it's functioning flawlessly now.

Now the goblins are a lot more relentless, chasing me no matter where I run to. I'll need to go back later and re-implement a hide and seek mechanic.