How To: Create Moving Clouds
In this tutorial, you will learn how to create moving clouds without any motion tweening.
Step1) Create New File> ActionScript 2
Step2) Change the Background colour to black using Properties Panel
Step3) Change the line colour to none and fill colour to white

Step4) Draw random circles using the oval tool lik
e so (you don't need to be a pro at this)

Step5) When you get a relative cloud looking shape, select (v) the whole cloud with the selection tool and go to Modify>Convert To symbol (F8) and convert your cloud into a movieclip symbol. Name your symbol 'cloud_mc' and click OK

Step6) Now you will want your cloud to look more like a cloud so select your cloud and go to Filter>Blur

Step7) Type in 20 for both X&Y and select 'Medium'

Step8) Select your cloud, right click then select actions and paste the following script into your actions box:
flagX=random(800)+50;
flagY=random(60)+10;
a=random(3)+1;
this._x=flagX;
this._y=fleagY;
speed=random(2)+0.5;
}
onClipEvent(enterFrame){
if(this._x>0){
this._x=this._x-speed;
} else{
this._x= 880;
}
}
Step9) Close the actions window and press CTRL+Enter to test your movie and you are done!! If you want to make multiple clouds, just copy and paste your current cloud and adjust the size and blur.



August 23, 2008 4:44 AM
Thanks for uploading this tutorial! It's really helpful. =D
-Laura
August 23, 2008 11:19 PM
To Laura:
It's my pleasure to share my knowledge and I'm glad it has helped you!
August 24, 2008 7:40 AM
Great blog!
I am a 14-Year-Old Blogger from Singapore. How about you? www.KidTechGuru.blogspot.com
August 24, 2008 11:07 PM
@Kid Tech Guru:
Thanks, I'm just two years older than you from Australia, love your blog too, lots of good tips and techniques =D
September 8, 2008 12:32 AM
im only 12 and im from hobart, australia
Post a Comment