Hello,
In my game (Which is in a top-down view similar to older Zelda titles), there are stealth missions where players have to avoid an enemy's line of sight. This is depicted in the game as a flashlight effect of sorts. If the flashlight active overlaps the player, they get caught. The problem I have though, is that it doesn't act like a real flashlight would. When light bounces off a wall for instance, it distorts. At the moment, I have the active changing size constantly, as I am detecting when it overlaps a wall or obstacle and making it smaller when it does, then slowly returning it to normal size when it's not overlapping.
I have come across a few Please login to see this link. that suggested using overlay redux to achieve this effect, but I have been unable to make that work for multiple enemies on screen at the same time. It also seems that I'm unable to create the flashlight effect without a dark background, although this could be entirely due to my inexperience with overlay redux. Furthermore, I'm unsure I could use this to detect overlaps of the player and trigger the game over I would need.
Are there any alternatives to give multiple enemies a realistic "flashlight" effect in fusion? Specifically one that could trigger other events when the flashlight overlaps the player? Any ideas are appreciated!