A black-and-white flashback with slow motion
Updated
A flashback cuts to a camera with Sepia, Noise and Vignette effects and halves the game speed; after eight seconds of real time it cuts back to the main camera.
Press Flashback: for eight seconds the scene turns sepia and the orbiting ball slows down. Drag to orbit the camera, scroll to zoom.
A black-and-white flashback with slow motion
#pragma lifecycle(startup)
let busy = false;
function startup() { on('story/flashback', async () => { if (busy) return; busy = true;
CameraDirector.switchTo('Flashback Cam'); Time.scale = 0.5;
const start = Time.now(); while (Time.since(start) < 8000) { await new Promise((done) => delay(done, 100)); }
Time.scale = 1; CameraDirector.switchToMain(); busy = false; });}How it works
Section titled “How it works”The script is explained step by step in A black-and-white flashback with slow motion.
Open it in XR Creator
Section titled “Open it in XR Creator”Download the project file below, then import it in XR Hub with Projects › New › Import, as described in Projects and templates. It opens in XR Creator with the same scene you see running above, each script already attached to its Behavior entity. From there you can edit the scripts, adjust components and their props, preview your changes, and deploy the result as a world of your own.
Flashback.xrproj