The Sine behavior> right click on object>Add> behavior>MOVEMENTS> Sine could be described as the underdog of behaviors, but when you consider all the possible settings it really is capable of some truly complex, and awesome effects.
Take for example the "milk" part of the video. Its all just sprites, not really moving, but growing, and shrinking randomly.
Of course the AlphaRamp effect is doing some heavy lifting as it does its morphing thing.And the transformation relies on just a simple blur.
Then to get all the instances to start with random sizes we change the Magnitude random. Then use the other random settings for period, and offset. So basically we don't have to set each one, its automatically handled by the behavior.
And well you know... the color.
Speaking of chocolate, we can apply a sine to a Tiled background, and then animate its position for yet another effect.
Comments
Post a Comment