Step 5: Repeat again for Fog Layers 3 and 4

Nice work! Can you guess what comes next? You go it! Create and position the Fog 3 and Fog 4 objects and repeat and slightly modify the events.

Hide layer 4, show layer 5 and position the Fog 3 objects as shown below.


The Fog 3 objects will move 1 pixel to the right and 1 pixel downwards. Create the following events:
Now hide layer 5, show layer 6 and position the Fog 4 objects instead like this:.


The Fog 4 objects will move 1 pixel to the left and 1 pixel downwards. Create the following events:
If you test the application you will probably notice that it was to "foggy". Click Layer 1 in the layers toolbar and in the properties window, set the blend coefficient to 130. The blend coefficient is a value between 0 and 255. 0 being totally visible and 255 being totally invisible. Note, this option is only avaliable if you have project set to the Direct3D 8 or 9 display modes.



Well done! You have competed the tutorial!
10