Page 1 of 1

Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 2:46 am
by KaTsuO_O
No need for text, just watch:

Click to Play
(Javascript Required)

Smooth Technique Tutorial.swf [ 8.05 KiB | Viewed 7388 times ]



This was originally made for a person as a tips for a technique but I thought It could be useful for anyone so here it is.

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 3:02 am
by Mr D
I remember when you taught me this and I have been using it ever since. Now more people can use it to make their animation easily smooth than ever before :D .

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 3:07 am
by BlueLight
This is basically how i remember.
I don't understand one thing. It seemed that when you made more key frames the speed seems to increase.
What i remember it working the number of frames is basically how fast your animation is. (Depends on how fast your playing the frames)
The more frames the slower the animation.
Key frames shouldn't change the speed of the animation just increase file size and give you more control over the motion tween.

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 3:31 am
by KaTsuO_O
@BlueLight didn't really understand what you meant with that but how this works is that when adding tween between keyframe 1 and keyframe 9 it moves 11% of the full motion each frame. If you add a keyframe to the second frame where it got 11% and then drag it to the second frame then it actually moves 5.5% the two first frames which makes acceleration but it also makes the rest frames move the object a little faster.

@Mr.D Yep, that is the really good thing about the technique, to improve animations quite a bit easily.

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 4:06 pm
by Eggplants
Man I always just use the ease tool in flash but that's a pain in the ass if every frame doesn't align perfectly. Thanks heaps for sharing this! It looks much easier to do!

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 06, 2012 4:21 pm
by BlueLight
Let me restate.

It looks like the speed increases when you add the key frames.
The speed should be the same since the speed is determined by the number of frames not the type of frames.

Re: Smooth Technique Tutorial

PostPosted: Fri Jan 27, 2012 1:33 pm
by Renara
I think what you're noticing is that parts of the animation are being given more frames, but the total animation isn't actually getting any longer.

If you think of the initial 9-frame animation as 9 equal movement "steps", then when you make the second step a key-frame, and move it into frame three, you now have two steps that lasts three frames, while the remaining six steps only last for five frames. The result is that you're essentially "squashing" a large part of the motion into a smaller number of frames, which has the effect of increasing the effective speed.

Another way of looking at it is that tweening is actually another name for interpolation, which is breaking a single movement into a series of smaller steps. So if you move an object 80 pixels over 9 frames, then each frame is 10 pixels of movement (first frame is the starting point). When you make the second frame a key-frame, it becomes fixed, so now, no matter where you move it, the object will only have moved 10 pixels in that frame. So when you shift it to the right, you cause that 10px movement to take up more frames, and therefore become slower. The remainder of your animation represents the movement from 10 pixels to 80 pixels, but if it now has less frames, then the steps required to do this become bigger.

So, in the first part of Katsu0_0's animation above, if you have the object moving 10px per frame, then when the second frame is made a key-frame and moved to the right, you now have a 10px movement over 3-frames, so the movement occurs at 5px per-frame, rather than 10px per frame like before. However, the other 70px of the movement now only lasts 6-frames instead of 7, so the movement occurs at around 12 pixels per frame, which is much faster.


Dunno if that clarifies it any? I can't think of any good real-world examples where it makes real sense. Except maybe a 500m race; if you do it evenly over the course of 100 seconds then you travel at a steady pace of 5 metres per second. However, if you spend more time on the first 100m than you do on the rest, then you will be slower for the first 100m, which means you have to travel faster to complete the other 400m if you still want to finished within 100 seconds.


Anyway, this is a really good tip Katsu0_0! I've been doing all kinds of stupid things when trying to smooth out animations :)

Re: Smooth Technique Tutorial

PostPosted: Sun Jan 29, 2012 4:18 am
by GoRepeat
Yep I do this all the time. It is how you give those pelvic thrusts and ass shakes their thrustiness and shakogrophical presence. Great stuff!

Re: Smooth Technique Tutorial

PostPosted: Tue Mar 20, 2012 9:57 am
by Diuberus
Sorry, I don't understand all the conversation (I have a poor english), but there is a way more simple to smooth animations without add keyframe.

You can just change the acceleration of the interpolation :