Hello I need help for transition of fading in and out black when starting like a cutscene
and after the dialogue it will fade out and load the next scene level.
Hi @Drake_Aurin,
I don’t have an example in mind but one way to approach this:
-
Use a PlayCanvas UI image element with full black color.
-
Animate it’s opacity from 0.0 to 1.0 to fade in, and from 1.0 to 0.0 to fade out.
-
Subscribe to the on
complete
tween event to know the exact moment the tween animation finishes to handle your scene transition.
This page includes some example tweens to get started: Using the Tween library | Learn PlayCanvas
1 Like