Forum rules - please read before posting.

Seamless Scene Transitions with Video

I'm making an Interactive FMV game which is 100% video-based. I've split each section of the game into scenes, to avoid overly complex branching Actionlists etc.

The issue I'm having is that when one video ends playing and the SceneSwitch is called there's still a second or so 'black screen' before the next scene loads and the video in the next scene automatically begins to play.

I have 'Overlay current scene during switch?' but this only seems to work (to an extent) if I crossfade by fading in the next scene per the User Manual. It doesn't seem to work if I instantly switch the next scene.

Does this usually work by taking a screenshot of the last frame of the previous scene and keep it on screen until the next scene is fully loaded? If so it doesn't seem to work properly if a video is playing. I'm not 100% sure though.

I also have 'Load scenes asyncronously' ticked in the Settings.

If this isn't an issue with AC can anybody recommend any possible way seamless scene transitions that are playing video could be implemented?

Comments

  • Does this usually work by taking a screenshot of the last frame of the previous scene and keep it on screen until the next scene is fully loaded?

    That's correct, though whether or not it includes video is up to Unity, I suspect. Results may vary on how the video itself is rendered.

    If it's a physical object in the scene (e.g. played as a material on a quad) then it would be included in the screenshot because the camera can physically see it. The same may be true for certain "Render Mode" values if played on a Video Player - though I don't know for which.

    Try playing around with the way the video itself gets rendered to see which works. If all else fails, you can always set the transition texture manually through script with:

    AC.KickStarter.sceneChanger.SetTransitionTexture (myTexture2D);
    

    Before manually fading out the camera and switching scene in two separate Actions.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.
Do NOT follow this link or you will be banned from the site!