Hi there,
I know this topic is popular but I'm doing a different kind of flashlight from what I've seen here and wanted to know if it's possible to achieve what I want.
I've used a ShadowLight object + a mask to make a classic directional flashlight, but in my game, all background that is not touched by light is darker and greyed out, and enemies are not visible in the shadows. I've achieved that by making a copy of the tilemap and placing it in a different layer underneath, using the Destination Out blend mode for the ShadowLight object, and Destination In for the cone shaped mask. It worked out well until I tried to add another light source, it didn't go as I thought. I've tried to place another mask on top but it's not working (I've tried it in different layers and every blend mode), so I don't know if it's actually possible with this method.
C3P file: dropbox.com/s/un72ab2eyln7xuv/flashlight_sample.c3p
So my 2 questions are:
1) is it possible? (I'm probably doing something wrong here)
2) if it's not, do you think there's another workaround for my intended idea?
Thank you!