playMaker

Author Topic: Tween Fade Action not working [SOLVED]  (Read 405 times)

CurlyDurian

  • Playmaker Newbie
  • *
  • Posts: 2
Tween Fade Action not working [SOLVED]
« 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
Above is the tween where it works. The sprite fades out just fine.
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.
« Last Edit: May 30, 2023, 12:02:25 AM by CurlyDurian »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Tween Fade Action not working
« Reply #1 on: May 28, 2023, 08:40:15 AM »
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

CurlyDurian

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Tween Fade Action not working
« Reply #2 on: May 30, 2023, 12:01:42 AM »
Thank you! Setting it to 1 instead of 255 seems to have fixed it. Thanks a ton!