FOG

this script allows for each map to have upto 3 seperate fogs(parallaxes) on display.

SCRIPT

Please note im no graphic artist, therefor you wil have to get your own fogs to use :p

Advertisements

5 responses

  1. i have a question, how can i disabled the fog effect on other maps.. because all of my maps have fogs..

    June 26, 2013 at 18:10

    • as long as you dont give a map the notetag for fog then it should not have any fog.

      June 27, 2013 at 16:05

  2. I’m having a problem when I set fogs to not appear in battle. I get an error at line 321 of spriteset_battle undefined method ‘update’

    July 25, 2013 at 16:36

    • i have no idea why thats happening as the update method is not even called unless you have set it to show in battle.
      also, line 321 should be ” @fog_a_y += @fog_a_sy / 128.0 if @fog_a_loop_y ”
      which also is not calling any kind of update method.

      are you using any scripts that may be conflicting with this one ? if yes, move the position of my script above / below untill it works as there really shouldnt be any faults.
      let me know how that goes 🙂

      July 25, 2013 at 18:04

      • Actually, i get the error in the spriteset_battle script, not yours. I also tried put the script in a fresh project, but its still the same error. Also, i get it only if i set the fog to not appear in battle and i have a fog running in the map.
        Line 321 of spriteset_battle is this one: @back1_sprite.update

        August 28, 2013 at 05:55

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s