Welcome to PGMZ! My goal is to make it easy for everyone to find and share great plugins for creating amazing games. As a plugin developer myself, I'm excited to grow this community with all of you.
Filter Controller MZ - FilterControllerMZ.js
Plugin desc : FilterControllerMZ
License : MIT License
Author : Tsukimi
Download Page : https://raw.githubusercontent.com/cji3bp62000/RPGMaker-plugins/master/plugin-list/FilterControllerMZ/FilterControllerMZ.js
File name : FilterControllerMZ.js
Help of plugin :
* @target MZ * * @plugindesc FilterControllerMZ * @author Tsukimi * * @param decimalVariable * @text Use Decimal in Variables * @desc allow decimal when using game variables or not. * precision to 3 decimal digits.(0.001) * @type boolean * @default true * * @param displacementImage * @text DisplacementMap image name * @desc name of displacement map image. Make the image Power of 2, * and put under img/pictures/ folder.(like 512x512, 1024x1024) * * @default DisplacementMap * * @param global-enable Settings * @text globally enable filter settings * * @param enabledAll-ShowInOptionMenu * @text Show in Option Menu * @parent enabledAll-Settings * @desc Show "Filter Effects Enabled" in Option Menu * @type boolean * @default false * * @param enabledAll-Text * @text In Option-Menu Text * @parent enabledAll-Settings * @desc text of global-enableness option in option menu * @default Filter Effects Enabled * * @param enabledAll-DefaultValue * @text default enableness * @parent enabledAll-Settings * @desc default value of global-enableness * @type boolean * @on enable * @off disable * @default true * * @help * *** pixi-filter Controller * Author: Tsukimi * This plugin is a controller, to control pixi-filters, * making fancy screen effects. * * effect targets (for copy&paste when writing tags) * ────────────────── * FullScreen * FullScreenWithWindow * TileAndChars * TileAndCharsAndParallax * Tile * TileAndParallax * Parallax * Chars * SepcificChar * ExcludeSepcificChar * Pictures * SpecificPicture * ExcludeSpecificPicture * * * all plugin commands * ────────────────── * ▶ createFilter * ▶ eraseFilter * ▶ enableFilter * ▶ setFilter (setting filter parameters) * ▶ moveFilter (same) * ▶ moveFilterQueue * ▶ clearMoveFilterQueue * ▶ eraseFilterAfterMove * ▶ setFilterSpeed * ▶ eraseAllFilter * ▶ globalEnableFilter * * Besides numbers, you can also set parameter/target-id * by variable or random between two numbers. * v1 :set as variable#1 * r0.5~1.5 :random between 0.5 and 1.5 * r0.5~v1 :random between 0.5 and variable#1 * rv1~v2 :random between variable #1 and #2 * * * *** Map Tags/Event Tags: * ────────────────── * <Filter:[id],[filterType],[filter-target-type](,[target-id])> * Basically same as createfilter. * Creating filter when entering map. * <pos-ref id> will be set to the eventID/screen. * * example: * <Filter:GODRAY#1,godray,0> * * * <SetFilter:[id],[filter parameters ...]> * Basically same as setfilter. * Set the parameter created by <Filter:...>. * * example: * <Filter:GODRAY#1,godray,0> * <SetFilter:GODRAY#1,-30,0.5,2.5,1> * * * <SetFilterSpeed:[id],[speed]> * Basically same as setfilterSpeed. * Set the parameter created by <Filter:...>. * * example: * <Filter:GODRAY#1,godray,0> * <SetFilterSpeed:GODRAY#1,0.03> * * * * * @command createFilter * @desc command to create filter. * * @arg filterId * @desc the name when adjusting and erasing filters. choose a good name! * * @arg filterType * @desc the type of filter. * @type select * * @option adjustment * @option ascii * @option bevel * @option bloom * @option blur * @option bulgepinch * @option crosshatch * @option crt * @option displacement * @option dot * @option emboss * @option glitch * @option glow * @option godray * @option godray-np * @option motionblur * @option noise * @option oldfilm * @option pixelate * @option radialblur * @option reflection-m * @option reflection-w * @option rgbsplit * @option shockwave * @option tiltshift * @option twist * @option zoomblur * * @arg filterTarget * @desc the target(s) the filter is applied to. * @type select * * @option FullScreen * @value FullScreen * @option FullScreenWithWindow * @value FullScreenWithWindow * @option TileAndChars * @value TileAndChars * @option TileAndCharsAndParallax * @value TileAndCharsAndParallax * @option Tile * @value Tile * @option TileAndParallax * @value TileAndParallax * @option Parallax * @value Parallax * @option Chars * @value Chars * @option SepcificChar * @value SepcificChar * @option ExcludeSepcificChar * @value ExcludeSepcificChar * @option Pictures * @value Pictures * @option SpecificPicture * @value SpecificPicture * @option ExcludeSpecificPicture * @value ExcludeSpecificPicture * * @arg targetIds * @desc when choosed "SpecificChar/Picture", specify the event/picture(s) id here. (multiple OK) * @type string[] * @default [] * * @arg positionReferenceTargetId * @text Position Reference Target Id * @desc position reference. (blank):screen -1:player 0:this event 1~:event#id screen:screen (this map only) * * * * @command eraseFilter * @desc command to erase a filter. * * @arg filterId * @desc the filter id you choosed. * * * @command enableFilter * @desc enable/disable filter renderring. * * @arg filterId * @desc the filter id you choosed. * * @arg activeness * @type boolean * @on enabled * @off disabled * @default false * * * @command setFilter * @desc set filter's parameter * * @arg filterId * @desc the filter id you choosed. * * @arg filterParameters * @desc the filter parameters. * @type string[] * @default [] * * * @command moveFilter * @desc set filter's parameter movement. * * @arg filterId * @desc the filter id you choosed. * * @arg filterParameters * @desc the filter parameters. * @type string[] * @default [] * * @arg duration * @desc movement duration. * @type string * @default 1 * * * @command moveFilterQ * @text moveFilterQueue * @desc Set a sequence of parameter-movement. Q = Queue * * @arg filterId * @desc the filter id you choosed. * * @arg filterParameters * @desc the filter parameters. * @type string[] * @default [] * * @arg duration * @desc movement duration. * @type string * @default 1 * * @command clearMoveFilterQ * @desc clear the movement queue. * * @arg filterId * @desc the filter id you choosed. * * * @command eraseFilterAfterMove * @desc when set, will auto erase filter after all movement is done. * * @arg filterId * @desc the filter id you choosed. * * * @command setFilterSpeed * @desc set the animation speed.(only works for filter with animations) * * @arg filterId * @desc the filter id you choosed. * * @arg filterSpeed * @desc animation speed * * @command eraseAllFilter * @desc erase all filter. * * @command ---------------- * @desc ----- * * @command globalEnableFilter * @desc set the global enableness of filters. Note this won't overwrite each filter's own enableness. * * @arg activeness * @type boolean * @on enabled * @off disabled * @default false