TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Fade In issue
Pages:
1
Fade In issue
badower
Posts: 29
June 16, 2022, 07:09:45 pm
Appreciate muchly if someone can tell me why my Fade In is not working.
Please see attachment with the comment in the 'Otherwise' block as to the issue.
When I take de-activate this Otherwise block, the Actor fades out completely,
but with it in, the Actor never Fades In beyond the 50% opacity where the Fade Out had stopped.
Thanks
Zedek
Posts: 20
June 17, 2022, 05:45:00 pm
Hi I had a quick play around. It seems to be how the blocks interact with each other.
For example I can use similar code and at 51% set opacity of the actor to 100%. But fade in doesn't trigger properly.
A work around could be at 51% you switch a boolean to true and while it's true and while opacity of the actor is less than 100% you change opacity every x seconds (.5 or so) to currentOpacity + 1.
Otherwise maybe somebody knows why the block won't trigger properly.
badower
Posts: 29
June 17, 2022, 07:50:21 pm
Thanks for your reply Zedek and for doing some experiments. I'm starting to think this is a bug.
Zedek
Posts: 20
June 17, 2022, 10:09:49 pm
Quick observation. If I do fade out on mouse down and then fade in on mouse release. It works?
badower
Posts: 29
June 29, 2022, 08:27:22 pm
I found the 'fade in' works if you set the 'using' parameter to either 'Strong Out' or 'Bounce Out' but it fades back in quickly regardless of how many seconds you specify - 'Normal Out' doesn't work at all.
I also discovered if you specify only one second duration, then you don't need the using parameter - but 2 seconds or more does need it. And with 'fade out' if you don't specify using 'Normal In' then the 'self' does not completely disappear.
Well, that's what happened with my experiments, but maybe I'm doing something wrong - please enlighten me if so.
Pages:
1