Best way is to overlay a black mask actor with transparency where the light shines (a transparent hole through the black mask field). Basically you would be simulating shadows...not light. This in the only way I know how to do it since there is no "opacity masking" support in GS.
TShirt Booths Labyrinth DeLuxe game is a good example...he has a darkness mode where you can only see a small area around the ball as you roll around the labyrinth. The rest of the board is obscured in the shadows.
In short...you could simulate a view through a submarines periscope (via overlay masking)...but you can't simulate taking a random bite out of a cookie (via opacity masking).
FireMaple - with the update 8.8 you can't import the larger graphic needed to do the flashlight trick (since it needs to be double the size for the area it's covering). How does one get around this now?
Comments
TShirt Booths Labyrinth DeLuxe game is a good example...he has a darkness mode where you can only see a small area around the ball as you roll around the labyrinth. The rest of the board is obscured in the shadows.
In short...you could simulate a view through a submarines periscope (via overlay masking)...but you can't simulate taking a random bite out of a cookie (via opacity masking).
http://gamesalad.com/game/play/66586
It does the same thing synthesis says...
Joe
I guess you can make the graphic half the size, and have the actor double the size.
I will update it when I get a chance later.