Tuesday, October 25, 2011

Looking, Memory, and Extended FOV

I have added a few more mandatory features:

'l'ook command now exists.  Nothing more to say about that.
Monster memory has also been implemented.  i.e., previously seen enemies show their last-seen location on the map when the player moves in such a manner that they are no longer in the line of sight.  This is similar to how Crawl does it, except that the player is assumed to be able to recognize previously seen enemies, thus preventing a trail of characters from showing up representing the exact same monster.
Lastly, FOV now supports facing and actual field of view.  The character is assumed to look in the direction they are moving, with a fairly generous FOV of 120 degrees.  This is intended to change for characters 't'argeting a particular enemy, 'a'iming, or 'r'unning [to be implemented next...].

No comments:

Post a Comment