A
AquaticChaos
Guest
I am looking for a way to draw dynamic shadows/lights that can affect other objects, such as keeping enemies away or activating switches. I've tried looking for tutorials on such things for GMS, and at one point I found one for Unity. However, I feel much more confident in using GMS, as I've used it plenty more than Unity.
Anyway, let's say that there's an enemy that must stay away from a light level over 50% in order to reach the player. It'll have to pathfind its way around the darkness to reach the player.
For another example, several switches must be hit with light at the same time in order to open a door. These switches, like before, must have a light level over 50% to activate.
Anyway, let's say that there's an enemy that must stay away from a light level over 50% in order to reach the player. It'll have to pathfind its way around the darkness to reach the player.
For another example, several switches must be hit with light at the same time in order to open a door. These switches, like before, must have a light level over 50% to activate.