Step 4: Fog Movement
Next, we are going to slowly move each Fog 1 object 1 pixel up and right and add to the counters. Moving the fog quicker horizontally that it does vertically will create a more realistic effect.- Every 00"-10
: Add 1 X Counter
: Set X position to X( "
" ) + 1
- Every 00"-14
: Add 1 Y Counter
: Set Y position to Y( "
" ) - 1
- X Counter of
= 320
: Set X Counter to 0
: Set X position to Initial X( "
" )
- Y Counter of
= 180
: Set Y Counter to 0
: Set Y position to Initial Y( "
" )
8