Page 1 of 1

A case where Alpha logic block Transition is failing

Posted: Sat Aug 11, 2018 12:53 am
by mbb
P2VR v.6b3 Win10

I have a text box that is a button tool tip. Visibility set to true, Alpha set to zero.

I have a global variable of "tooltip_vis" default to "false"

Now for that skin element tooltip (text box), I have it set with an alpha logic block, OnMouseOver, set alpha = 1 (default 0), with "Transition" set to 1 sec.

Result is that the Alpha changes to 1 and back to 0 properly, but without the Transition.

Note: I am also dynamically setting the text contents of the text box. All works as it should, just the Alpha Transition is not happening.

Re: A case where Alpha logic block Transition is failing

Posted: Tue Aug 14, 2018 11:33 pm
by Hopki
Hi Bradford,
skin element tooltip (text box), I have it set with an alpha logic block, OnMouseOver, set alpha = 1 (default 0), with "Transition" set to 1 sec.
If the text box is at Alpha 0 then the Alpha logic block can not work with a mouse over as Alpha 0 is not active.
Alpha 0.001 is active, but its so low a value its still looks invisible but now will detect a mouse over.


What is confusing is you have also said you have set a variable,
I have a global variable of "tooltip_vis" default to "false"
However have tested with mouse over button and toggles the variable to change the Alpha logic block and I see a transition.
May be post a simple project that shows the issue.

Regards,
Hopki

Re: A case where Alpha logic block Transition is failing

Posted: Wed Aug 15, 2018 6:40 am
by mbb
I will PM you a project file so you can see what I mean. I think my description may be confusing on it's own.

Re: A case where Alpha logic block Transition is failing

Posted: Wed Aug 15, 2018 8:15 am
by mbb
If the text box is at Alpha 0 then the Alpha logic block can not work with a mouse over as Alpha 0 is not active.
Alpha 0.001 is active, but its so low a value its still looks invisible but now will detect a mouse over.
My mouse-over is not on the text block but rather another element whose action's change the true/false of a variable which indicates the visibility (via alpha) of the target text block. This will be seen as such in the example file I've sent you.

Re: A case where Alpha logic block Transition is failing

Posted: Wed Aug 15, 2018 5:39 pm
by Hopki
Hi Bradford,
I have had a look and see the problem, its the text auto size thats braking the transition of the Alpha.
Deselect this and all works as should.
I will write up a bug report.
Regards,
Hopki