Thursday, March 17, 2011

Back to Work

Spring break was a nice break from work.  Now back to it!

I've been thinking more about my visibility detection problem this week.  I think I will start with a simple detection method for now and add to it once I've got a basic version working.  A basic implementation would be to keep checking if an agent is in an enemy's line of sight as agents and enemies move over time.

The next conceptual problem I wanted to tackle was the Hide behavior.  The Hide behavior is more difficult than Walk and Run because Hide needs to move the agent into a space on the map that will block its visibility from approaching enemies.  A simple way of achieving this objective would be to identify hiding spaces on the map and have the agent calculate a path to that target hiding spot.

I've also been working on implementing A* this week.  The main reference I have been using has been this article.  My goal is to have the algorithm implemented and tested by the end of the weekend, so look for more updates then!

Also, before spring break, I had updated my design document, which you can find here.

1 comment:

  1. send me an email over the weekend when you get this going...

    ReplyDelete