Map Properties Plugin v1.0.1 for MZ

Hello RPG Makers!
I’m excited to present to you a new plugin by Tyruswoo! The Map Properties plugin allows switches to control the map properties a map uses when a map loads. This allows selecting alternative parallax backgrounds or music.
This plugin will help you:
- Change what parallax background is used on maps using switches!
- Change what background music plays on maps using switches!
- Keep the same parallax scrolling position even when transferring between different maps! This allows for smoother transitions in maps that use the same scrolling parallax background.
Download Map Properties Plugin MZ
How to Install
- Download the file, and unzip it.
- Make sure the unzipped file is named Tyruswoo_MapProperties.js and is saved as a .js file.
- Open the file folder of your project. Place the file in your project’s “js” folder, within the “plugins” folder.
- Open your project in RPG Maker MZ, then go to the Tools menu and select Plugin Manager. Use the Plugin Manager to add and activate the plugin.
- I recommend you place this plugin toward the bottom of your plugin list, so it has high priority.
Example 1: Saving and Loading Parallax Positions
This is useful for transferring between maps that (1) use the same parallax background and (2) have the parallax background scroll.
Without this plugin, when the player goes to the next map, the parallax background will jump back to the default position. By saving a loading parallax positions, the parallax background will be in the same position on the new map that it was right before the player left the old map. This makes for smoother transitions between similar maps.



Example 2: Change Parallax Background with a Switch
RPG Maker allows changing the Parallax Background with Change Parallax. This is immediate and temporary. When the player leaves and re-enters the map, the background parallax will return to the default set on the Map Properties window.
The Map Properties plugin allows for changing the Parallax Background based on switches and will remain in effect until the switch is turned off (or permanently if the switch is never turned off). This takes place when the player loads the maps.
Change Parallax and Map Properties plugin can be used together to instantly change the background and to make sure the change sticks. This is shown in the example below.







Conclusion
Big thanks to Tyruswoo for making another great plugin!
Lawenia