Author Topic: Making a bitmap profile fade out?  (Read 2487 times)

Instead of just doing Image.visible = false;, how can I make it gradually fade away?
thonx xxoo <3 <3

I think there is an actual control for this.

I think there is an actual control for this.
What is it?

You could just gradually change the transparency using mColor.

Put a GuiFadeInBitmapCtrl on top with an image of the color of whatever your background is, and when it's done fading in the background color delete the fade ctrl and make your image invisible

Put a GuiFadeInBitmapCtrl on top with an image of the color of whatever your background is, and when it's done fading in the background color delete the fade ctrl and make your image invisible

That seems like a pretty bad way. What if you want to fade something out into the PlayGui?

That seems like a pretty bad way. What if you want to fade something out into the PlayGui?
Then you
could just gradually change the transparency using mColor
which doesn't look as good as the actual face ctrl if you have a solid background color though.

Image.visible = false;
No no no. Use Image.setVisible(0); instead. If there is a function and a variable, you typically want to use the function instead.

i have experience in fadeinControl

it literally fades in a picture, than fades it out to nothing

it would work fine

You can edit the values for the FadeIn control to actually make it fade out.

What if I'm planning to put the image on the PlayGui?

No no no. Use Image.setVisible(0); instead. If there is a function and a variable, you typically want to use the function instead.
There's literally no difference.

What if I'm planning to put the image on the PlayGui?
then you would do playGui.add(myFadeCtrl);

You can edit the values for the FadeIn control to actually make it fade out.
Oh what? That's awesome!

then you would do playGui.add(myFadeCtrl);
But I thought it needed a background colour?