Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Heretic86

Cloud Altitude Script (with an Alpha Channel Fog) - RMXP

Recommended Posts

This script will help you simulate Clouds. Clouds and Fog are essencially the same thing. Condensed water vapor. The difference between the two is that Clouds are quite high up off of the ground, and fog usually covers the ground itself.

 

When a Player moves their character on the screen, a Cloud that was higher than the camera would move at a different rate. Fog does not. That is what this script allows you to accomplish

 

alphafog.jpg.

 

fog2.jpg

The above Screenshot also shows a fog set to Maximum Opacity. Because the Cloud (Fog) has an Alpha Channel, the visibility is determined by the Alpha Channel and not Game Opacity. The Alpha Channel Fog is included for you in the Demo.

 

A Still Screenshot cant really show you what this script does because it affects the way the Fog Layer moves. The Demo can.

 

LATEST VERSION: http://www.775.net/~heretic/downloads/rmxp/CloudAltitude0.2.zip Feb 18th 2012

 

DEMO: http://www.775.net/~...oudAltitude.exe (Obsolete)

 

Installation: Place somewhere above "Main", but below any SDK's if you use them.

 

Legal: As long as you give me credit, you may alter and distribute this script and my Alpha Channel Fog freely, you may post it on other websites, and you may use it in any Commercial Games without compensation.

Edited by Heretic86

Share this post


Link to post
Share on other sites

Nice job with this, didn't even think about this until you said it. I'll be using it.

Share this post


Link to post
Share on other sites

I tried to document as best as I could, but I can understand if some parts of this come out a little hard to understand. If you do end up with any questions, feel free to ask, I'll try to answer as best as I can.

Share this post


Link to post
Share on other sites

This is amazing! Exactly what I needed for some maps in my game! Thank you for sharing and creating this! :D

Share this post


Link to post
Share on other sites

UPDATE

 

New Version of the Script no longer requires a Parallel Process. Instead, just one configurable On and Off Game Switch. It still needs an Event to set the Altitude and X, Y Speeds. Most likely, you already have to use

an Event to show Game Fog in the first place, so just use it there. Just two lines now, pretty straight forward.

 

ALSO INCLUDED

 

DEVELOPERS VERSION!

 

Since quitting out of the game, going in, changing one number SUCKS, I decided it would be easier to do it IN GAME! The newest download (see original post) includes the Developers Version which SHOWS you On Screen Real Time your Altitude and Speeds, which are now adjustable by holding down the SHIFT Key and pressing Up, Down, Left, Right, Q, or W for the Script Properties.

 

I changed the way the math works a bit so this version may require you to retweak any existing work you may have done with the script so far. Feel free to play with it and see if you can come up with a better way to crunch those numbers.

 

I am active so feel free to post any Support Questions, but it shouldnt be too difficult to figure out.

Edited by Heretic86

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...