Page 1 of 1

Fade everything but the dialog

Posted: Mon May 27, 2019 8:47 pm
by AoF
Hello, I've got a moment in my scene where everyone leaves and I want the background to fade to black, but I still want to narrate some lines.

I know one way I can do this is to create an animation that fades the background to black and have a sequence call it, but I was wondering if there's a built in way to do this?

I tried to use Fade(out), but as soon as it faded out, the scene became visible again. I tried Fade(stay) (which AFAICT is not documented in the reference) and that faded the dialogue, too.

Re: Fade everything but the dialog

Posted: Mon May 27, 2019 9:15 pm
by Tony Li
Hi,

The Fade() command uses a Screen Space - Overlay canvas with a sorting order of 32766.

You can change the Dialogue Manager > Canvas's sorting order to 32768 to keep it visible on top of the Fade() command's canvas.

p.s. - Here's the Fade() command reference with a few more details like this that might be helpful.

Re: Fade everything but the dialog

Posted: Mon May 27, 2019 9:19 pm
by AoF
Thanks! Ah that does reference "stay." I found these docs first: http://www.pixelcrushers.com/dialogue_s ... ffect.html

Re: Fade everything but the dialog

Posted: Mon May 27, 2019 9:25 pm
by Tony Li
The manual is a bit of a beast, isn't it. And yet every week someone points out details that are missing and should be added.