Best Tutorials website


Moving Clouds and Waving Grass

Moving Clouds and Waving Grass

The clouds move at a constant speed and are generated dynamically. Each time a cloud moves past the screen to the left, a new cloud is created with a random shape and color. The grass is plotted at certain coordinates when the movie starts. Each blade of grass is set to a random color. At the start of each frame, the grass waves according to an x position where the blades of grass are attracted to. The code for the clouds and grass can be accessed by opening their movie clip in the library.




Views: 561 | Rating star 1 | by David




View this tutorial
Broken link Report broken link?