Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Fade to White Execute Script?

  • #1, by ygmantell 9 years ago Zitieren
    So I want the fade for flashbacks in my game to be to white, but I'm not sure how...
    I know theres the method where I have an all white image that I fade in and out, but that seems like the biggest pain (having that object on both scenes?)

    Is there a script or something I can just call or execute to fade the scene to white and back?
    I use the bit of code below to fade to black, if that has any overlap...

    Thanks!
    game.CurrentScene:to(1000, {SceneBrightness = 0})
  • #2, by caligarimarte 9 years ago Zitieren
    Visionaire 5 has a new Action Part for Color-Fades, right under the "Scene"-Header. smile
  • #3, by dionous 9 years ago Zitieren
    Correct, "Start color overlay" action part
  • #4, by ygmantell 9 years ago Zitieren
    Awesome!  Didn't know that!
    Thanks so much!
  • #5, by zurik 7 years ago Zitieren
    Hey guys. How can I have a slow fade to black , a couple of seconds pause, and fade to a new scene? Should I use "Start color overlay"? I can't quite do it the way I want with "normal" fade to scene commands. I would like to have control over tha speed of the fade and lenght of the black screen. 
  • #6, by afrlme 7 years ago Zitieren
    yeah start color overlay will work fine, you can also control the brightness of the scene too.
  • #7, by zurik 7 years ago Zitieren
    Thank you, but how do I fade from black to a new scene. This doesn't work grin
  • #8, by esmeralda 7 years ago Zitieren
    set the scene change to immediatly and add another "start color overlay" after that. There you fade to the same color, but now set the visibility to "0".

  • #9, by zurik 7 years ago Zitieren
    Perfect! Thanks a lot! (There was a loop that started the fade several times - that's why I got confused). smile