NGT Shatter - NGT_Shatter.js

▼NGT Shatter(ベルファーレ長田様作) - NGT_Shatter.js
https://plugin.fungamemake.com/archives/13705
ピクチャを粉砕します
ふりがな:しゃったー
機能概要: ピクチャを粉砕します
利用規約(ライセンス): MITライセンス
作者:ベルファーレ長田
作者サイト:https://x.com/velfare_nagata
ダウンロードページ:https://raw.githubusercontent.com/VelfareNagata/RPG-Mak…
ファイル名:NGT_Shatter.js
プラグインのヘルプ:
/*:ja
* @plugindesc ピクチャを粉砕するプラグインです。
*
* @help
* ◆プラグインコマンド
* SHATTER_PICTURE {0} {1}
* 粉砕_ピクチャ {0} {1}
*
* {0}:プラグインパラメータに設定した粉砕方法の名前
* {1}:対象ピクチャID
*
* @param shatterMethods
* @desc ピクチャの粉砕方法を設定します。
* @type struct<shatterMethod>[]
* @author ベルファーレ長田(゜∀゜)◆AHYA/HaiA.
*/
/*~struct~shatterMethod:ja
*
* @param name
* @desc ピクチャの粉砕方法を表す名前です。
* ここで設定した名前をプラグインコマンドで指定します。
* @type string
* @default
*
* @param memo
* @desc このピクチャの粉砕方法に関するメモ欄です。
* プラグインの動作には影響しません。
* @type note
* @default
*
* @param splitSetting
* @desc ピクチャ粉砕時の分割に関する設定です。
* @type struct<splitSetting>
* @default {”count”:”5”,”lineWidth”:”0.0000”,”lineColor”:”{”R”:”0”,”G”:”0”,”B”:”0”}”}
*
* @param scatterSettings
* @desc ピクチャ粉砕時の散らばり方に関する設定です。
* @type struct<scatterSetting>[]
* @default []
*
* @param flashSettings
* @desc ピクチャ粉砕時のフラッシュに関する設定です。
* @type struct<flashSetting>[]
* @default []
*
* @param opacitySettings
* @desc ピクチャ粉砕時の不透明度変更に関する設定です。
* @type struct<opacitySetting>[]
* @default []
*
*/
/*~struct~splitSetting:ja
*
* @param count
* @desc 分割回数を指定します。
* ※あんまり大きくすると重くなります。
* @type number
* @min 1
* @max 100
* @default 5
*
* @param lineWidth
* @desc 分割時の線の幅を指定します。
* @type number
* @min 0.0000
* @max 10.0000
* @decimals 4
* @default 0.0000
*
* @param lineColor
* @desc 分割時の線の色を指定します。
* @type struct<colorTone>
* @default {”R”:”0”,”G”:”0”,”B”:”0”}
*
*/
/*~struct~scatterSetting:ja
*
* @param process
* @desc 散らばり処理を基本設定します。
* @type struct<process>
* @default {”order”:”1”,”startPerFrame”:”1”,”startFrame”:”1”,”frameTime”:”1”}
*
* @param animationType
* @desc 散らばり処理のアニメーション種別を設定します。
* @type select
* @option なし
* @value 1
* @option 基準点に近付く
* @value 2
* @option 基準点から離れる
* @value 3
* @default 1
*
* @param referencePoint
* @desc アニメーションの基準点を指定します。
* 「animationType」で指定したエフェクトの計算に使用されます。
* @type select
* @option 中央
* @value 1
* @option 左上
* @value 2
* @option 上
* @value 3
* @option 右上
* @value 4
* @option 右
* @value 5
* @option 右下
* @value 6
* @option 下
* @value 7
* @option 左下
* @value 8
* @option 左
* @value 9
* @default 1
*
* @param acceleration
* @desc 散らばりアニメーションの加速度情報を設定します。
* 「animationType」設定とは別に機能します。
* @type struct<acceleration>
* @default {”x”:”{”min”:”0.0000”,”max”:”0.0000”}”,”y”:”{”min”:”0.0000”,”max”:”0.0000”}”,”z”:”{”min”:”0.0000”,”max”:”0.0000”}”,”r”:”{”min”:”0.0000”,”max”:”0.0000”}”}
*
*/
/*~struct~flashSetting:ja
*
* @param process
* @desc フラッシュ処理を基本設定します。
* @type struct<process>
* @default {”order”:”1”,”startPerFrame”:”1”,”startFrame”:”1”,”frameTime”:”1”}
*
* @param colorTone
* @desc フラッシュ色調を設定します。
* @type struct<colorTone>
* @default {”R”:”0”,”G”:”0”,”B”:”0”}
*
*/
/*~struct~opacitySetting:ja
*
* @param process
* @desc 不透明度変更処理を基本設定します。
* @type struct<process>
* @default {”order”:”1”,”startPerFrame”:”1”,”startFrame”:”1”,”frameTime”:”1”}
*
* @param opacity
* @desc 不透明度を設定します。
* @type number
* @min 0
* @max 255
* @default 0
*
*/
/*~struct~process:ja
*
* @param order
* @desc 処理を実行する順番を指定します。
* @type select
* @option 中央から
* @value 1
* @option 左上から
* @value 2
* @option 上から
* @value 3
* @option 右上から
* @value 4
* @option 右から
* @value 5
* @option 右下から
* @value 6
* @option 下から
* @value 7
* @option 左下から
* @value 8
* @option 左から
* @value 9
* @default 1
*
* @param startPerFrame
* @desc 1フレームあたりの処理開始数を指定します。
* @type number
* @min 1
* @max 9999
* @default 1
*
* @param startFrame
* @desc 処理を開始するフレーム時間を指定します。
* @type number
* @min 1
* @max 9999
* @default 1
*
* @param frameTime
* @desc 処理時間を指定します。
* @type number
* @min 1
* @max 9999
* @default 1
*
* @param intervalFrame
* @desc 次の処理を開始するまでの間隔フレーム時間を指定します。
* @type number
* @min 1
* @max 9999
* @default 1
*
*/
/*~struct~colorTone:ja
*
* @param R
* @desc 色調(赤)を設定します。
* @type number
* @min 0
* @max 255
* @default 0
*
* @param G
* @desc 色調(緑)を設定します。
* @type number
* @min 0
* @max 255
* @default 0
*
* @param B
* @desc 色調(青)を設定します。
* @type number
* @min 0
* @max 255
* @default 0
*
*/
/*~struct~acceleration:ja
* @param x
* @desc 1フレームあたりのX方向への加速度を設定します。
* @type struct<rangeDouble>
* @default {”min”:”0.0000”,”max”:”0.0000”}
*
* @param y
* @desc 1フレームあたりのY方向への加速度を設定します。
* @type struct<rangeDouble>
* @default {”min”:”0.0000”,”max”:”0.0000”}
*
* @param z
* @desc 1フレームあたりの億回転の加速度を設定します。
* @type struct<rangeDouble>
* @default {”min”:”0.0000”,”max”:”0.0000”}
*
* @param r
* @desc 1フレームあたりの横回転の加速度を設定します。
* @type struct<rangeDouble>
* @default {”min”:”0.0000”,”max”:”0.0000”}
*/
/*~struct~rangeInt:ja
* @param min
* @desc 最低値を設定します。
* @type number
* @min -9999
* @max 9999
* @default 0
*
* @param max
* @desc 最高値を設定します。
* @type number
* @min -9999
* @max 9999
* @default 0
*/
/*~struct~rangeDouble:ja
* @param min
* @desc 最低値を設定します。
* @type number
* @min -9999.9999
* @max 9999.9999
* @decimals 4
* @default 0.0000
*
* @param max
* @desc 最高値を設定します。
* @type number
* @min -9999.9999
* @max 9999.9999
* @decimals 4
* @default 0.0000
*/
