Fog of war
i have been trying implement fog of war game i'm making. have tried several approaches none have turned out successful.
alpha tiles:
first thing tried, unfortunately covering screen in many tiles alpha levels caused lag , abandoned it.
vector drawings , blend mode:
next tried drawing dark rectangle , blendmode.erase in out things want player see. more few light sources becomes laggy , becomes horrible if apply blur filter.
masks:
tried masks, unfortunately aren't flexible(one mask per movieclip , such.) didn't fit bill.
do have alternative suggestions/methods make these work?
you should able use alpha tiles if enable tiles cacheasbitamp property.
More discussions in ActionScript 3
adobe
Comments
Post a Comment