Some days ago, Leo and I have posted on the forum to teach lifelike water waves animation, today, the tutorial and code posted out for everyone's reference, hoping to play a role in the discussion.
Download the original code First of all, we have to prepare a suitable picture, here is the appropriate, it is best to have a reflection, and the water is relatively clean, the following is my tutorial selected pictures:
Put this picture into Flash, press ctrl+b to break up, take out the water in the part (of course, if you want to do in Photoshop and other image processing software to deal with it can), is the following this look:
Then we convert it into a component, the property is "movie clip," and then edit the component. In the water picture on the layer to build a layer, used to put black stripes to do the mask, and then began to draw stripes, with a rectangular tool to the edge of the painting, the finer the better (of course, not too thin ...). ), the following is a mouse-drawn stripe:
Then start making stripes from top to bottom of the animation, the proposed playback speed for 24f/s above, moving distance themselves to adjust, this is a careful work, may have to adjust many times to achieve the right effect:
Do a good job back to the main scene, the original picture dragged out as a background, a new layer on the background to put just a good water wave file, adjust the position (note the background do not move, only adjust the water waves above) to the satisfaction of the effect. Then according to the situation constantly modified, to their own satisfactory effect on it. Effect instance:
|