Thursday, August 28, 2014

Line of sight

Working on some kind of 2D line of sight.

It's cool that I can get the area of the enemy/player which is visible, so let's say if enemy can see only a small part of the player it doesn't have to attack right away, but come closer or something... Just like for the destructible terrain I am using Clipper for this.

No comments:

Post a Comment