Fill scene with a picture

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
AoF
Posts: 241
Joined: Sun May 12, 2019 8:36 pm

Fill scene with a picture

Post by AoF »

There are moments in my game where I want the characters to disappear off the screen (probably by fading away) and be replaced by a giant picture (probably fading in). I want to use the same background, so that makes me think I don't want to use LoadLevel for this (but maybe I'm wrong).

Usually, the conversation is still going during this time, so I want the UI to still be visible on top of the picture. A few nodes later, the picture will fade out and return to the conversation with the characters visible (fading in).

How do you go about doing this? I couldn't find a sequence called "FadeActors" or "FadePicture" or "UsePicture"
User avatar
Tony Li
Posts: 22055
Joined: Thu Jul 18, 2013 1:27 pm

Re: Fill scene with a picture

Post by Tony Li »

You could set up animator states for all of that. Use the AnimatorPlay() sequencer command to play the characters' "fade out" state and the map image's "fade in" state.
Post Reply