Struggling with a Fade Out and Fade in on same object..

0 favourites
  • 4 posts
From the Asset Store
Welcome! I-Spy (Hidden objects) is an educational puzzle that is more than just seek-and-find activities.
  • So this ALMOST works perfectly but you can see in the video what's going on.. it fades out like i want.. it fades back in when i am no longer overlapping.. i got back over it and it fades out again, but then the next time i leave it doesn't fade back in..

    Notice the variable I have programmed to change to help control thing. here is a picture of the setup. note i have the fade in and fade out behaviors in the screenshot to the left.

    I just don't get it. why would it stop working on that particular time of not overlapping the object?

    Subscribe to Construct videos now
  • Looks like the 'bug' is that the behaviour called fadein is stuck in fade out phase rather than Done once it completes. If you want to do this kind of behaviour feel free to make a function that reduces or increases the opacity over time because that seems incapable of going wrong. What you've done here is a bit hacky and I don't know how to override the pending fade out.

  • hey there thanks! i just saw this. ok i'm rusty on that but i know what you're getting at. I'll see if i can find a way to tween that value easily.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • dude that was awesome.. i got it working in minutes! i totally forgot tween's a thing now and it can work with values. thanks a ton!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)