Field of Vision Code

5:07 pm Game Algorithms, Nintendo DS, Southgate

I’m working on a field-of-vision implementation for Southgate at the moment, which is both very fast and highly accurate. It also provides anti-aliased shadows, accounts for shadows that are smaller than a single tile, and (I haven’t decided yet) might even end up supporting non-opaque shadows.

Depending on how well it turns out, I dunno, I might release the code and/or write a tutorial. The code is based on the tutorial by Gordon Lipford (which I originally found on Dungeondweller.) My adjustments to it are just tuning and slight extensions which aren’t in fact very difficult to make, plus a bunch of style refactorings. We’ll see – maybe I’ll put it with the other tutorials and example code. For now, Björn Bergström’s tutorial or Tobias Downer’s tutorial will be the best no-code explanations you can find.

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.