Rain fx on Title UI
Posted: 15 Jul 2020 18:45
by calamarcia
Hi!
Not sure If it's on UI or scenarios. It's possible to have the rain fx in loop in the Title UI screen? Anybody has tried this before? I'm trying to port this demo I did in another engine, here you can see the fx.
https://youtu.be/b3aH9DDkvlc
Thank you very much for your time!
Re: Rain fx on Title UI
Posted: 15 Jul 2020 20:02
by Nysalie
I haven't explored Naninovel's FX much but you could try spawning the effect with a Naninovel script and use it in a PlayScript component attached to the TitleUI, then Play() it through the TitleUI's On Show() event in the inspector, essentially when the TitleUI is visible it will start playing the script automatically.
To despawn it you could do the same but for your title buttons, create another .nani script with a @despawn Rain line, attach a PlayScript component to each button, select the created .nani script, on the button OnClick() event reference the PlayScript component and trigger the Play() method.
You could perhaps do all this in a single custom TitleUI class with these implementations triggering by c#. The logic would still be quite similar I guess.
Re: Rain fx on Title UI
Posted: 15 Jul 2020 22:16
by Elringus
Just use a title script (assigned via scripts config menu) with
Re: Rain fx on Title UI
Posted: 16 Jul 2020 07:21
by calamarcia
It's working! Thankyou :D