Sweep a pool of light across the wall
11 / THE MOUSE FLASHLIGHT
For a flashlight in the spirit of Zak McKracken and the Alien Mindbenders, dim the room first. PCA’s built-in Enable / Disable Flashlight Mode brightens the rendered room around the pointer. A bright room gives that pool very little to reveal. A little base light lets the player find their way back.
1. Try the circle. The last line inside light_passage already turns it on. radius is in viewport pixels, so 140 gives a manageable circle. strength of 3 makes the center stand out. For a harder-edged, more rectangular retro look, change "circle" to "square" or "rectangle". The mouse keeps its usual click-to-walk and interaction controls.
Two frames from the same corridor. The pointer moved from left to right. The room camera and Pip stayed put.
2. Stop the beam outside the corridor. Create the PCA Script below. In Service Corridor › Room Events › When Leaves Room select Run Visual Script › Beam Off. Also append Beam Off to the ordinary entry actions of Gatehouse and any other room Kit can occupy. Character switching can take a different route from walking through a door. Relay Room already clears the beam in relay_dress.
beam_off / PCA SCRIPT
function run()
let beam = set_flashlight_mode({"enabled":false})
end3. Let the camera follow Pip gently. Select the corridor camera, set Position to 0, 3.1, 6.2, Look Target to 0, 0.9, −1.2, and Field of View to 48. In Dynamic Follow › Camera Tracking Mode choose Use Custom Settings. Check Follow Active Player. Choose Smooth Follow (Continuous), axes X, Pan Smoothing 3 and Movement Look Ahead 0.25. Apply and walk sideways. The camera follows Pip. Moving only the mouse moves just the light.
Pointer or lantern? Stand still and sweep the pointer to the far wall. The pale pool should follow it while the amber patch stays with Pip. Next, walk Pip a few steps. The wick and the amber patch should move together.
