MZ用プラグイン

マップタイルに対して様々な操作を行えます。 - TileColorFilter.js

シェア用テキスト:
▼マップタイルに対して様々な操作を行えます。(あわやまたな (Awaya_Matana)様作) - TileColorFilter.js
https://plugin-mz.fungamemake.com/archives/8507
マップタイルに対して様々な操作を行えます。

ふりがな:まっぷたいるにたいしてさまざまなそうさをおこなえます。

機能概要: マップタイルに対して様々な操作を行えます。

利用規約(ライセンス): MITライセンス

作者:あわやまたな (Awaya_Matana)

解説ページ:https://awaya3ji.seesaa.net/article/505508535.html

ダウンロードページ:TileColorFilter.js

ファイル名:TileColorFilter.js

プラグインのヘルプ:

* @target MZ

* キャラクターには影響しません。



* <tileTone:R,G,B,gray> //タイルの色調
* RGB:-255~255 gray:0~255
* <tileBlend:R,G,B,opacity> //タイルの合成色
* RGB:0~255 opacity:0~255
* <tileHue:hue> //タイルの色相
* hue:-360~360
* <tileBrightness:brightness> //タイルの明度
* brightness:0~255
* <tileOpacity:opacity> //タイルの不透明度
* <tileOpacity:upperOpacity,lowerOpacity> //上層、下層の個別指定
* opacity:0~255
*
* [スクリプト]
* $gameMap.tone() //色調の取得
* $gameMap.blendColor() //合成色の取得
* $gameMap.brightness() //明度の取得
* $gameMap.hue() //色相の取得
* $gameMap.upperOpacity() //上層の不透明度の取得
* $gameMap.lowerOpacity() //下層の不透明度の取得
*
* [仕様]
* 「タイルセットの変更」をするとタイルセットのメモが反映されます。
* マップのメモを優先したい場合は直後に「フィルターのリセット」を
* 実行してください。
*
* [更新履歴]
* 2024/11/03:Ver.1.0.0 公開。
* 2024/11/04:Ver.1.1.0 処理を削減しました。
* 2024/11/06:Ver.1.1.1 スペルミスを修正しました。
* 2024/11/06:Ver.1.2.0 タイルセットのメモを追加しました。
* 2024/11/09:Ver.1.2.1 イベントテスト時のエラーを修正。
* 2024/11/25:Ver.1.2.2 FilterControllerMZ併用時の挙動を修正。
* 2024/11/26:Ver.1.2.3 初回操作時のラグを抑制する処理を追加。
* 2024/12/27:Ver.1.2.4 描画の不具合を修正。
*
* @param bgSyncList
* @text 遠景の同期リスト
* @desc 遠景を下層タイルと同期させます。
* @type select[]
* @option 色調
* @value Tone
* @option 合成色
* @value BlendColor
* @option 色相
* @value Hue
* @option 明度
* @value Brightness
* @option 不透明度
* @value Opacity
* @default ["Tone","BlendColor"]
*
* @param fgSyncList
* @text 近景の同期リスト
* @desc 近景を上層タイルと同期させます。
* @type select[]
* @option 色調
* @value Tone
* @option 合成色
* @value BlendColor
* @option 色相
* @value Hue
* @option 明度
* @value Brightness
* @option 不透明度
* @value Opacity
* @default ["Tone","BlendColor"]
*
* @param preconvert
* @text 事前変換
* @desc ブート時にフィルターを生成して、初回のラグを防ぎます。
* @type boolean
* @default true
*
* @command setColorTone
* @text 色調の変更
* @arg tone
* @text 色調
* @desc R,G,B,グレー
* RGB:-255~255 グレー:0~255
* @default 0,0,0,0
* @type combo
* @option 0,0,0,0
* @option -68,-68,-68,0  //ダーク
* @option 34,-34,-68,170 //セピア
* @option 68,-34,-34,0   //夕暮れ
* @option -68,-68,0,68   //夜
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*
* @command setBlendColor
* @text 色の合成
* @arg blendColor
* @text 合成色
* @desc R,G,B,不透明度
* RGB:0~255 不透明度:0~255
* @default 0,0,0,0
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*
* @command setHue
* @text 色相の変更
* @arg hue
* @text 色相
* @desc -360~360
* @default 0
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*
* @command setBrightness
* @text 明度の変更
* @arg brightness
* @text 明度
* @desc 0~255
* @default 255
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*
* @command setOpacity
* @text 不透明度の変更
* @arg layer
* @text レイヤー
* @default All
* @type select
* @option 全て
* @value All
* @option 上層
* @value Upper
* @option 下層
* @value Lower
* @arg opacity
* @text 不透明度
* @desc 0~255
* @default 255
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*
* @command resetFilter
* @text フィルターのリセット
* @arg filter
* @text フィルター
* @default All
* @type select
* @option 全て
* @value All
* @option 色調
* @value Tone
* @option 合成色
* @value BlendColor
* @option 色相
* @value Hue
* @option 明度
* @value Brightness
* @option 不透明度
* @value Opacity
* @arg duration
* @text 時間
* @desc 0で瞬間適用
* @default 0
* @arg wait
* @text 完了までウェイト
* @default false
* @type boolean
*

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

Copyright© #ツクプラMZ , 2026 All Rights Reserved.