How to go about making a flashlight effect that allows users to see the screen underneath?
I've been trying to make a small project with Java's swing, and awt libraries. The program is supposed to hide the majority of the screen, excluding an area around the cursor. So far, what I've managed to do is have it show a section of the the screen behind it, but then, it just ends up showing up as a white screen after, like it's artifacting over it. I think some possible angles would maybe just be changing the background that initially shows up when the window opens, but I haven't been able to figure out how to make that transparent, with it just showing up as white no matter what happens.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.