Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: CurlyDurian on May 26, 2023, 09:58:17 PM
-
Hello, I'm having difficulty using the Tween Fade action in my FSM.
I'm trying to use it to have a menu fade in and out between the different screens. I am able to get some of the sprites to fade out, but when I try to get the other sprites to fade in it just pops in without any fading.
https://imgur.com/KFZXEwc (https://imgur.com/KFZXEwc)
Above is the tween where it works. The sprite fades out just fine.
https://imgur.com/jNEtm1R (https://imgur.com/jNEtm1R)
Above is is what I'm trying to fade in. However, it just pops in with zero fade.
The alpha of my INFOBG sprite is set to 0. I can provide additional info if needed.
-
Hi.
If you are fading a group of images , use "canvas group" component (set on a parent that has the things in it that you wish to fade. it should also work with Tween Fade.
if not, use Tween Float and Ui Canvas Group Set Alpha
Make sure time and other settings are correct
Also make sure when you start the game, the default setting (alpha 0/1) are correct.
I also noticed that fade is set to 255, i believe that the Tween Fade uses Alpha, which has only a range from 0 to 1
-
Thank you! Setting it to 1 instead of 255 seems to have fixed it. Thanks a ton!