Hello everyone!
Was playing through Maniac Mansion and noticed a really neat and simple effect they used for their flashlights in dark rooms. Basically the room is pitch black and after using the flashlight, your cursor becomes a little circular “cut out†that reveals the room from the darkness as you move it across the screen. Figured this could not only be a fun mechanic within that same context for a game, but perhaps even a cool way to have a night vision sniping mini game of some sort.
Anyways, how might you go about creating that mechanic in AGS?
Thank you!
I would probably start by searching the AGS Forums for the term "flashlight."
The basic idea is you create an image that is twice the size of your game resolution, with the cutout you want on the center, and then import this image and set it as the sprite of something (Overlay, GUI, ...), and then move it so that it's center is in the mouse position on each frame update.
There's also a module for this.