【ウディタ】Shadow Casting

【ウディタ】Shadow Casting

視界処理。不透明度32で、1マスにつき8枚のピクチャ表示。残念ながら、それなりに重い。視界範囲がマスの中央を通るかどうかで可視判定。参考Rogue Basin http://www.roguebasin.com/index.php?title=FOV_using_recursive_shadowcastingEric Lippert’s Blog http://blogs.msdn.com/b/ericlippert/archive/tags/shadowcasting/ 四角形の視界はコチラ  sm24266703

http://www.nicovideo.jp/watch/sm24280479