Change scene after video?

  • #1, z XerilonThursday, 12. January 2017, 09:30 hodinky 8 years ago
    Trying to change scene after video by setting up the actions with those two lines in order as easy as it gets, but when the video is finished it jumps back to the current scene for a split second before changing to the new scene and that breaks the flow.

    Earlier I have cheated by putting a "black" picture on top of the current scene to turn on as the video starts so that it wouldn't show, but that is a crude solution. 
    Is there a better one?

    Bažant

    37 Posts


  • #2, z afrlmeThursday, 12. January 2017, 11:46 hodinky 8 years ago
    Trying to change scene after video by setting up the actions with those two lines in order as easy as it gets, but when the video is finished it jumps back to the current scene for a split second before changing to the new scene and that breaks the flow.

    Earlier I have cheated by putting a "black" picture on top of the current scene to turn on as the video starts so that it wouldn't show, but that is a crude solution. 
    Is there a better one?
    I think I ended up doing the same thing, though in my case I adjusted the brightness of the scene instead or I faded in/out a black image in an interface - I forget which off the top of my head.

    I wonder if it will switch immediately if you tick the change immediately checkbox option without giving it a chance to show the last scene you was on? It's something I didn't try.

    Imperátor

    7285 Posts

  • #3, z AkcayKaraazmakThursday, 12. January 2017, 12:03 hodinky 8 years ago
    Hope this will be fixed in the upcoming release. I'm also using a black image on top to hide the previous scene. 

    Čestný člen

    440 Posts

  • #4, z PaupasiaThursday, 12. January 2017, 13:53 hodinky 8 years ago
    If you want a "fade in", you need a black screen, but if you don't care about this you can change scene immediately without fading, as AFRLme said, and it works.
    Videos and change scene don't like fading smile

    Fanoušek fóra

    165 Posts

  • #5, z XerilonThursday, 12. January 2017, 16:41 hodinky 8 years ago
    Ok, so I'm not the only one razz

    Thanks guys!

    Bažant

    37 Posts

  • #6, z AkcayKaraazmakThursday, 12. January 2017, 23:19 hodinky 8 years ago
    Even without fading after video it doesnt work for me. It always shows the prev. scene after videos finishes for a second than shows the next scene. :\

    Čestný člen

    440 Posts

  • #7, z PaupasiaFriday, 13. January 2017, 00:17 hodinky 8 years ago
    Odd, works for me.
    You entered the instructions  inside a left click action?

    - Play video ***.mkv
    - Switch to scene "****"     immediately show scene

    Or inside a "at beginning of scene" or else, like character actions?

    Fanoušek fóra

    165 Posts

  • #8, z afrlmeFriday, 13. January 2017, 01:24 hodinky 8 years ago
    Another thing you could consider doing is creating a blank menu scene & changing to that before showing a video. You could setup a simple at begin of scene action that calls a called by other action based on an if value = x query that plays the relevant video then changes to x scene - providing a scene change is required after else just play video inside of current scene as you normally would.

    Imperátor

    7285 Posts

  • #9, z Simon_ASAFriday, 13. January 2017, 11:58 hodinky 8 years ago
    When I worked on my previous game Catyph, there was a video transition between each scene (it was a Myst-like game in first person view).
    I remember I had a lot of issues, and the video was not playing as I wanted (even in the final version of the game there's still a short freeze as you can see in the playable demo).

    However I managed to get a nice result in the end I think. Most important: make sure your video is in the recommended VS format (mkv, etc), which changed a lot of things for me.
    You can try the following thing too: don't play your video "at the end" of the current scene, but play it "at the beginning" of the next scene (which you probably tried already).

    There should still be my questions somewhere on the forums about this. Hopefully you'll find a solution. Good luck!

    Čestný člen

    321 Posts