Feature Request: Clamping in Sine Behaviour

0 favourites
  • 2 posts
From the Asset Store
2D Tile Set
$1.20 USD
60% off
Tile map for your 2d platformer games, custom sets available on request
  • Since the last time I requested a feature it had already been implemented, I thought I'd go for another.

    I find the Sine behaviour really useful (though badly named). What would make it extremely useful is to be able to clamp the values - this would allow much greater control over the curves.

    eg. If currently I have a triangle wave with a magnitude of 10 then I would get a wave like this

    /\    // \ / \ /

        \/    \/

    Now if I was able to clamp the same wave to 5, then I would get a wave like this:

    __      __

    / \    /     \__/    \__/

    Which would be very useful.

    Also on the sine behaviour, it would be great to be able to set the offset in an action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ah, the post has made a mess of my careful ASCII art. This is what I mean:

    <img src="http://www.st-andrews.ac.uk/~jcgl/Scots_Guide/audio/clipping/fig1.gif" border="0" />

    Apparently it's called clipping, not clamping.

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