One time long fade?

  • #10, z PaupasiaMonday, 24. July 2017, 17:46 hodinky 7 years ago
    @esmeralda Not for all scenes. I think he speaks only of the scene in which leaves the island to  the next island. Whatever the island.
    Now, I do not know how many islands he must manage. But, for example, on 4 islands are only 8 instructions.  smile
    Also your idea is useful and with only 4 instructions, but maybe he want a "fade out fade in" effect or something like this. Well ... really I don't know what effect is searching for grin

    Fanoušek fóra

    165 Posts


  • #11, z SimonSMonday, 24. July 2017, 21:45 hodinky 7 years ago
    sounds great smile

    will it be a fadein/fadeout AP with timings?

    something special here (fade type) ? 
    It just a simple, to visibility / color / fade time

    Kapitán

    1582 Posts

  • #12, z ygmantellTuesday, 25. July 2017, 21:45 hodinky 7 years ago
    Sorry for the late reply.  I ended up just using the set fade effect action part before and after the change scene, and that worked perfectly.

    I do, however now need a way of fading the screen to black, doing an action, then fading it back, so I guess the shader toolkit is the way to go.

    @SimonS
    Do you by any chance have a time frame for this feature?  It would be so helpful! smile

    Thanks so much everyone!

    Čestný člen

    274 Posts

  • #13, z esmeraldaWednesday, 26. July 2017, 09:10 hodinky 7 years ago
    I do, however now need a way of fading the screen to black, doing an action, then fading it back, so I guess the shader toolkit is the way to go.

    Either that or you could create a scene consisting of a black background and change to that scene and back (and setting an fading effect action part).

    Zabiják klíčů

    525 Posts

  • #14, z afrlmeWednesday, 26. July 2017, 12:51 hodinky 7 years ago
    Not sure if anyone has already mentioned but you can use the to() tweening function & affect the current scene's brightness value.
    game.CurrentScene:to(3000, {SceneBrightness = 0}) -- fade current scene to black over 3 seconds

    Don't forget to reset it inside of an "at begin of scene" action for the scene otherwise it will be black the next time you visit it.

    Imperátor

    7285 Posts

  • #15, z ygmantellWednesday, 26. July 2017, 15:08 hodinky 7 years ago
    @esmerelda

    I didn't think of that, that probably would be so much easier.  Thanks!
    I probably would have to hide the character at beginning of that scene, but that would make it easily re-usable.

    Thanks!

    Čestný člen

    274 Posts

  • #16, z SimonSWednesday, 26. July 2017, 15:17 hodinky 7 years ago
    I will try to get the next version up over the weekend.

    Kapitán

    1582 Posts

  • #17, z ygmantellWednesday, 26. July 2017, 15:26 hodinky 7 years ago
    Awesome!

    Čestný člen

    274 Posts

  • #18, z ygmantellWednesday, 26. July 2017, 16:50 hodinky 7 years ago
    @esmeralda
    Okay, so I did exactly as you said, and followed the Wiki, but the shader toolkit still does not work...
    Any ideas?

    Thanks so much!

    EDIT:  Used AFRLme's suggestion of using the code below and it worked perfectly

    ...I guess now I really should start learning Lua... 

    Thanks everyone!
    game.CurrentScene:to(3000, {SceneBrightness = 0}) -- fade current scene to black over 3 seconds

    Čestný člen

    274 Posts

  • #19, z afrlmeWednesday, 26. July 2017, 17:11 hodinky 7 years ago
    I think the shadertoolkit on the wiki is still for 4.2.5. If you are using 5.x then you will need the updated shadertoolkit that Simon shared on the forum a while back. I guess we should probably upload that to the wiki at some point or replace the one on the wiki.

    Imperátor

    7285 Posts

  • #20, z esmeraldaWednesday, 26. July 2017, 17:19 hodinky 7 years ago
    Here is the link to the updated shadertoolkit for vis5:

    http://www.visionaire-studio.com/luadocs/#shadertoolkit


    Zabiják klíčů

    525 Posts