How do I ease in an effect over a few seconds?

  • Hi there,

    I'm creating a brief fade in and fade out transition using two objects, one with the fade in behaviour, one with the fade out.

    I'd like to add the water effect to it, but unfortunately the water effect kicks in straight away and the transition is jarring. How could I ease in the water effect during the fade in / fade out?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you want to delay the water effect, or increase its intensity gradually? If you want to delay, then disable it on start of layout, and enable only when needed.

    If you need to increase effect intensity, say from 1 to 10, use Tween behavior, "Tween Value" action. When this tween is running, set water effect parameter to Sprite.Tween("tag").value

    Or you can probably change effect parameter based on the sprite opacity, something like "set effect parameter 0 to (Self.opacity/10)"

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