SquidLib Version 1.95 Released!

Lots of fancy new features in this version of SquidLib!

But first, a picture of FOV in action:

On an island in a lake in the mountains south of the marshlands.

On an island in a lake in the mountains south of the marshlands.

There are a variety of Field of View algorithms built in, along with an assortment of wrappers to really allow customization of their output. My personal favorite is the TranslucenceWrapperFOV with a ShadowFOV base, which is what you see in the image above.

Other FOV algorithm options include a water-like spread, outward rippling, and Elias-based ray casting.

There are currently two Line of Sight algorithms, Bresenham which draws a direct line, and Elias which draws an anti-aliased line. The following two images display the differences.

Bresenham LOS can't see around corners if the "drop" is the wrong direction.

Bresenham LOS can’t see around corners if the “drop” is the wrong direction.

Elias LOS can see around corners as naturally expected due to checking an anti-aliased line.

Elias LOS can see around corners as naturally expected due to checking an anti-aliased line.

 

Get the newest version at the github repository, including a convenient zip of this release! Also check out the demo applications, there’s a lot of usage scenarios laid out in them.

This entry was posted in SquidLib and tagged , , , , , , , , . Bookmark the permalink.

3 Responses to SquidLib Version 1.95 Released!

  1. Mike says:

    Found this via you talking about it on Roguelike Radio – finally a way I can develop roguelikes on OS X! Looking forward to tinkering with it.

  2. Pingback: Astute Robots, Go! | Eben Howard

  3. Pingback: Attack The Geth, Go! | Eben Howard

Leave a Reply

Your email address will not be published. Required fields are marked *


*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">