I am trying to make a game with the player having a limited amount of view in a dark area. I’m trying to add a “flashlight” with a bright yellow cone so that when the cone flashes on an object, the object gets highlighted. However, the player “darkness” is preventing items from being highlighted and it hides the flash. Can anyone think of a good solution to this?
I don’t know a great way to explain it, but you can look through the code of this unfinished project I was making that has a flashlight mechanic!
The Devils Realm
If you don’t understand something in the project, I will do my best to help you!
(In the beginning, you might have to click on the entrance door a couple time!)
It might not fit all your needs, but it shows how to make an effective flashlight!
Thank you! This helps a lot!