Fog
2015.10.31
by Shaz
Introduction
This plugin allows you have a moving fog overlay on a map.
How to use
Add to your plugins folder (file name should be Fog.js). There are no parameters to set.
Create a folder called
fogs in your
img folder. Save the fog file in there.
Plugin call:
ChangeFog filename scroll-x scroll-y opacity
scroll-x and scroll-y indicate the movement (negative numbers move up or left, positive numbers move down or right).
opacity is 0-255
scroll-x, scroll-y and opacity can all be numbers or a formula (eg - $gameVariables.value(15) to pull the value from a variable).
You can call multiple times on the same map to speed up or slow down the fog movement.
Fog is removed when you leave the map.
Plugin
Download from pastebin
Credit
- Shaz
Terms
- free for use in commercial games
RPG Maker Web attachments are mirrored locally when available. Other external links remain hosted by their original creator or third-party service.