Step 2: Store initial Fog positions
Later on, after each Fog object has moved 320 pixels (it's own width) in the X direction 180 pixels (it's own height) in the Y direction we are going to move it back to it's original position. Thus, it is necessary to store it's original position in two alterable values.Each fog object has an almost identical image, therefore, the object icons are almost identical. At the start of frame, store the initial X and Y position of the Fog 1, Fog 2, Fog 3 and Fog 4 in their Initial X and Initial Y alterable values.
- Start of Frame
: Set Initial X to X( "
" )
: Set Initial Y to Y( "
" )
: Set Initial X to X( "
" )
: Set Initial Y to Y( "
" )
: Set Initial X to X( "
" )
: Set Initial Y to Y( "
" )
: Set Initial X to X( "
" )
: Set Initial Y to Y( "
" )
: Play sample ambientloop 0 times
6