Skip to content
/ MZPlus Public

MZPlus a free core library designed to extend RPGMakerMZ

License

Notifications You must be signed in to change notification settings

Dai696/MZPlus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MZPlus

MZPlus is the core library that most plugins use.

Accessing plugin params:

To access plugins params use the code MZPlus.getParams(id)

The id is a way to make plugins not depend on the file name. In your plugins @plugindesc you can put a easy to look up ID name.

Example:

/*
 *@target MZ
 *@plugindesc <PluginTest> This plugin allows for layered parallax maps and infinite fog layers.
 */
 
 MZPlus.getParams('<PluginTest>')

Default Params:

You can pass a default object in and set default params for properties set.

Example:

/*
 *@param testVariable
 *@text TestVariable
 *@desc A test variable
 */

MZPlus.getParams('<PluginTest>', {testVariable: 'insertDataHere'})
Accessing plugin command args

Access plugin command args via the callMZPlus.argsToData(args);

Example:

 PluginManager.registerCommand(PluginTest, 'pluginCommand', function (args) {
	args =  MZPlus.argsToData(args);
	console.log(args);
    });

About

MZPlus a free core library designed to extend RPGMakerMZ

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages