当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
懐中電灯 - FlashLight.js
シェア用テキスト:
▼懐中電灯(@BananaPepperTK様作) - FlashLight.js
https://plugin-mz.fungamemake.com/archives/1176
円形の光を描画するプラグインです。
ふりがな:かいちゅうでんとう
機能概要: 円形の光を描画するプラグインです。
利用規約(ライセンス): MITライセンス
作者:@BananaPepperTK
作者サイト:https://twitter.com/BananaPepperTK
ダウンロードページ:https://github.com/sevenspice/FlashLight
ファイル名:FlashLight.js
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc 懐中電灯プラグイン。 * @author @BananaPepperTK * * @help 円形の光を描画するプラグインです。 * * 詳細 * https://github.com/sevenspice/FlashLight * * @param BlurBoundaries * @desc 光の境界線をぼやかすかどうか。 true:ぼやかす false:ぼやかさない * @default false * * @command draw * @text 描画開始 * @desc 円形の光を描画します。 * * @arg drawType * @type string * @default LIGHT * @text 光の当て方 * @desc LIGHT: 前方移動方向に照らす TORCH: 自分を中心に照らす * * @arg radius * @type number * @min 80 * @max 240 * @default 80 * @text 光の半径 * @desc 描画される円形の光の半径を指定する。 * * @arg selfSwitch * @type string * @default A * @text ONにするセルフスイッチ * @desc 光が当たった時にONにするセルフスイッチを指定する。 * * @arg ignoreEvents * @type number[] * @default [] * @text 当たり判定を無視するイベントID * @desc 光との当たり判定を無視するイベントIDを配列で指定する。 * * @command clear * @text 描画終了 * @desc 円形の光を消します。 */