An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

Tile Color Filter - TileColorFilter.js

Plugin desc : Various operations can be performed for the map tile.

License : MIT License

Author : あわやまたな (Awaya_Matana)

Website : https://awaya3ji.seesaa.net/

Desc page : https://awaya3ji.seesaa.net/article/505508535.html

File name : TileColorFilter.js

Help of plugin :

* @target MZ
* @plugindesc Various operations can be performed for the map tile.
* It does not affect the character.
* @author あわやまたな (Awaya_Matana)
* @url https://awaya3ji.seesaa.net/article/505508535.html
* @help Ver.1.2.4
* [Note (Map and Tileset) ]
* <tileTone:R,G,B,gray> //Tile Tone
* RGB:-255 to 255 gray:0 to 255
* <tileBlend:R,G,B,Opacity> //Tile Blend Color
* RGB:0 to 255 Opacity:0 to 255
* <tileHue:hue> //Tile Hue
* hue:-360 to 360
* <tileBrightness:brightness> //Tile Brightness
* brightness:0 to 255
* <tileOpacity:opacity> //Tile Opacity
* <tileOpacity:upperOpacity,lowerOpacity> //Individual Setting
* opacity:0 to 255
*
* [Scripts]
* $gameMap.tone() //Get Tone
* $gameMap.blendColor() //Get Blend Color
* $gameMap.brightness() //Get Brightness
* $gameMap.hue() //Get Hue
* $gameMap.upperOpacity() //Get Upper Layer Opacity
* $gameMap.lowerOpacity() //Get Lower Layer Opacity
*
* [Specifications]
* When you "Change Tileset", the tileset note will be reflected.
* If you want to prioritize the map note, please "Reset Filter"
* immediately after.
*
* @param bgSyncList
* @text Background Synch List
* @desc Synchronize the background with the lower tile.
* @type select[]
* @value Tone
* @value BlendColor
* @value Hue
* @value Brightness
* @value Opacity
* @default ["Tone","BlendColor"]
*
* @param fgSyncList
* @text Foreground Synch List
* @desc Synchronize the foreground with the upper tile.
* @type select[]
* @value Tone
* @value BlendColor
* @value Hue
* @value Brightness
* @value Opacity
* @default ["Tone","BlendColor"]
*
* @param preconvert
* @text Pre-convert
* @desc Generate filters at boot time to avoid first-time lag.
* @type boolean
* @default true
*
* @command setColorTone
* @text Change Color Tone
* @arg tone
* @text Tone
* @desc R,G,B,gray
* RGB:-255 to 255 gray:0 to 255
* @default 0,0,0,0
* @type combo
* @option 0,0,0,0
* @option -68,-68,-68,0  //Dark
* @option 34,-34,-68,170 //Sepia
* @option 68,-34,-34,0   //Sunset
* @option -68,-68,0,68   //Night
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*
* @command setBlendColor
* @text ChangeBlendColor
* @arg blendColor
* @text Blend Color
* @desc R,G,B,opacity
* RGB:0 to 255 opacity:0 to 255
* @default 0,0,0,0
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*
* @command setHue
* @text Change Hue
* @arg hue
* @text Hue
* @desc -360 to 360
* @default 0
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*
* @command setBrightness
* @text Change Brightness
* @arg brightness
* @text Brightness
* @desc 0 to 255
* @default 255
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*
* @command setOpacity
* @text Change Opacity
* @arg layer
* @text Layer
* @default All
* @type select
* @value All
* @value Upper
* @value Lower
* @arg opacity
* @text Opacity
* @desc 0 to 255
* @default 255
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*
* @command resetFilter
* @text Reset Filter
* @arg filter
* @text Filter
* @default All
* @type select
* @value All
* @value Tone
* @value BlendColor
* @value Hue
* @value Brightness
* @value Opacity
* @arg duration
* @text Duration
* @desc Instant application at 0
* @default 0
* @arg wait
* @text Wait for Completion
* @default false
* @type boolean
*

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.