DE EN FR ES IT CZ
Back Back to top

Easing functions questions [SOLVED]

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  • #1, by red363 4 years ago Quote
    Hi!

    Can you please tell me if it is possible to disable the "easing function" if I want to enlarge a part of the scene, rotate an object, etc.?

    Where I just wrote "none":
    shaderViewport(50, 945-19, 265-11, 0, 7000, none)

    Thanks
  • New to Visionaire Studio?

    Create point and click adventures without coding. The free version covers up to 25 scenes per project. For more scenes or to earn money with your game, you need a license.

    See the Indie Bundle Try it for free
  • #2, by esmeralda 4 years ago Quote
    just leave it empty or use the linear easing (easeLinearIn)
    there is even easeNoneIn, that should wait for the time set as delay and then jump to the designated scale.
    (and of course these easing exist as ...Out and ...InOut like any other easing)
  • #3, by red363 4 years ago Quote
    just leave it empty or use the linear easing (easeLinearIn)
    there is even easeNoneIn, that should wait for the time set as delay and then jump to the designated scale.
    (and of course these easing exist as ...Out and ...InOut like any other easing)
    Thanks for the answer.
    Maybe I don't fully understand something...

    If I leave it empty, nothing happens.
    If I use "easeNoneIn" the increase is instantaneous, without a smooth fade.
    If I use "easeLinearIn" - the increase occurs along a curve, but I just don't need it.

    I need to have the usual smooth increase over a given period of time to the desired size without deflecting the camera trajectory in the process.

  • #4, by afrlme 4 years ago Quote
    easeLinearInOut is the default one, which should be a straight line from point A to point B without any curving. If you want the start to have the same curve as the end then you need to include InOut at the end of the easing type.

    Also what you are saying is not making a lot of sense to me, so I'm probably misunderstanding what it is you are trying to do.
  • #5, by red363 4 years ago Quote
    Thanks everyone, I think I figured out what the problem was. Found the answer here:

    https://www.visionaire-studio.net/forum/thread/shaderviewpor...