MZ用プラグイン

DarkPlasma 拡縮アニメーションする明かりイベント - DarkPlasma_AnimeLight.js

シェア用テキスト:
▼DarkPlasma 拡縮アニメーションする明かりイベント(DarkPlasma様作) - DarkPlasma_AnimeLight.js
https://plugin-mz.fungamemake.com/archives/5286
拡縮アニメーションする明かりをイベントの座標を基準にしてマップ上に表示します。

ふりがな:かくしゅくあにめーしょんするあかりいべんと

機能概要: 拡縮アニメーションする明かりをイベントの座標を基準にしてマップ上に表示します。

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

作者:DarkPlasma

作者サイト:https://elleonard.github.io/DarkPlasma-MZ-Plugins/index.html

解説ページ:https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree…

ダウンロードページ:https://raw.githubusercontent.com/elleonard/DarkPlasma-…

ファイル名:DarkPlasma_AnimeLight.js

プラグインのヘルプ:

/*:
 * @plugindesc 拡縮アニメーションする明かりイベント
 * @author DarkPlasma
 * @license MIT
 *
 * @target MZ
 * @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release
 *
 * @param defaultScale
 * @desc アニメーションの大きさを%で指定します。
 * @text 拡縮率(%)
 * @type number
 * @default 10
 *
 * @param defaultZ
 * @text Z座標
 * @type select
 * @option プライオリティ『通常キャラの下』より下
 * @value 0
 * @option プライオリティ『通常キャラと同じ』より下
 * @value 2
 * @option プライオリティ『通常キャラと同じ』より上
 * @value 4
 * @option プライオリティ『通常キャラの上』より上
 * @value 6
 * @default 4
 *
 * @param defaultFrameLength
 * @text 1周のフレーム数
 * @type number
 * @default 30
 *
 * @command markAsLight
 * @text 自動明かりイベント
 * @desc メモ欄に<animeLight>と記入してある場合、このイベントは自動的に明かりになります。
 * @arg image
 * @text 画像ファイル
 * @type file
 * @dir img
 * @arg opacity
 * @text 不透明度
 * @type number
 * @default 255
 * @max 255
 * @arg offsetX
 * @text X座標オフセット
 * @type number
 * @default 0
 * @min -1000
 * @arg offsetY
 * @text Y座標オフセット
 * @type number
 * @default 0
 * @min -1000
 * @arg scale
 * @text 拡縮率(%)
 * @desc アニメーションの大きさを%で指定します。0でデフォルト。
 * @type number
 * @default 0
 * @arg frameLength
 * @text フレーム数
 * @desc アニメーションフレーム数を設定します。0でデフォルト。
 * @type number
 * @default 0
 * @arg z
 * @text Z座標
 * @type select
 * @option デフォルト
 * @value -1
 * @option プライオリティ『通常キャラの下』より下
 * @value 0
 * @option プライオリティ『通常キャラと同じ』より下
 * @value 2
 * @option プライオリティ『通常キャラと同じ』より上
 * @value 4
 * @option プライオリティ『通常キャラの上』より上
 * @value 6
 * @default -1
 *
 * @help
 * version: 1.0.1
 * 拡縮アニメーションする明かりを
 * イベントの座標を基準にしてマップ上に表示します。
 *
 * イベントのメモ欄による設定
 * <animeLight:TMAnimeLight1 192 24 -44 4>
 *   画像 img/system/TMAnimeLight1.png を不透明度 192 で、
 *   イベントの足元から右に 24、
 *   上に 44 ドットずらした位置にZ座標 4 で表示します。
 *   不透明度は 0~255 です。
 *
 * プラグインコマンド 自動明かりイベントによる設定
 *   メモ欄の代わりに使用できます。
 *
 * 本プラグインは TMAnimeLight.js と一部互換性があります。
 * 注釈を用いることはできません。
 */

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

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