RMRK is retiring.
Server is paid up for the rest of 2026, but the forum may go after that. See here for more information. Please archive or save anything you would like to keep before 2027.
Main Menu
  • Welcome to The RPG Maker Resource Kit.

Clouds Tutorial

Started by Meridius, January 23, 2010, 03:40:13 AM

0 Members and 1 Guest are viewing this topic.

Meridius

Ever want a good scrolling cloud effect on a certain map (most commonly a world map). Here is an easy way to do it. It's simple to script and doesn't require any variables/switches.

Just import the included graphic into your picture resources and follow the script below:

http://i832.photobucket.com/albums/zz249/lucas-massey/clouds.png

<>Show Picture: 1, clouds, (480,360)
<>Show Picture: 2, clouds, (640,480)
<>Loop
  <>Move Picture: 1 (-160,-120), 20.0 Sec
  <>Move Picture: 2 (0,0), 20.0 Sec (Wait)
  <>Move Picture: 1 (480,360), 0.0 Sec
  <>Move Picture: 2 (640,480), 0.0 Sec (Wait)
  <>
: End Loop
<>

Step 1: For the first event [<>Show Picture: 1, clouds, (480,360)] set the transparency to 60% and leave the Color and the Magnification settings as they are. X=480 and Y=360

Step 2: For the second event [<>Show Picture: 2, clouds, (640,480)] set the transparency to 75% and adjust the color for R,G,B,S all to 0%. Leave magnification as it is (100%) X=640 and Y=480.

Step 3: Create the Loop Event for the Move Picture events to be added

Step 4: For the event [<>Move Picture: 1 (-160,-120), 20.0 Sec] Set the transparency the same as the first 'Show Picture Event'. Set the move time to 20 seconds (200 tenths of a second). X= -160 and Y= -120.

Step 4: For the event [<>Move Picture: 2 (0,0), 20.0 Sec (Wait)] Set the transparency the same as the second 'Show Picture Event'. Also make sure that the color is all at 0%. Set the move time to 20 seconds (200 tenths of a second). X= 0 and Y= 0. Make sure to turn on the "Halt Other Processes" checkbox

Step 5: For the last two 'Move Picture' events, you will be giving them the same properties as the first two "Show Picture" events, make sure to match the color/transparency and the coordinates. Set the transition time for both these events to 0 seconds (Make sure the 'Move Picture 2' event still has 'Halt Other Processes' checked)

If you have trouble with any of the settings, you can download a pre-scripted version below and make reference to it's settings directly from RM2K3

http://www.mediafire.com/?n1mmijjjnjy


Enjoy!