Fade in?

0 favourites
  • 4 posts
  • So I created a tile object black layer and I gave it the fade property so, at the beginning of the layout, there is a fade out, how do I make it fade back in to black on the death of the player?

  • Nevermind. I made a 2nd fade and set it to fade in. Now the player's death triggers the fade back in to black. It looks great!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The Fade behavior can't be modified during runtime. So if you configured it to fade out after 1 second, during 2 seconds, with no destruction (example), you can't use that same behavior to fade in.

    What you can do is add another fade behavior, set to fade in, and inactive on start (btw, you can rename behaviors so it's easier to know witch does what). When the player dies, you then use an action like "Character : restart FadeIn"

    EDIT : you found the exact solution I was describing ><

  • Yes. I was afraid it was going to be complex but it was so easy and looks so great! Thanks though. <img src="smileys/smiley1.gif" border="0" align="middle" />

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