当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
DarkPlasma 画像の変更で向きやパターンを設定 - DarkPlasma_ChangeImageWithPattern.js
シェア用テキスト:
▼DarkPlasma 画像の変更で向きやパターンを設定(DarkPlasma様作) - DarkPlasma_ChangeImageWithPattern.js
https://plugin-mz.fungamemake.com/archives/5292
画像の変更で向きやパターンを設定できるようにします。
ふりがな:がぞうのへんこうでむきやぱたーんをせってい
機能概要: 画像の変更で向きやパターンを設定できるようにします。
利用規約(ライセンス): 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_ChangeImageWithPattern.js
プラグインのヘルプ:
/*: * @plugindesc 画像の変更で向きやパターンを設定する * @author DarkPlasma * @license MIT * * @target MZ * @url https://github.com/elleonard/DarkPlasma-MZ-Plugins/tree/release * * @command hackChangeImage * @text 画像の変更カスタム * @desc 対象の画像の変更コマンドをカスタマイズします。 * @arg target * @desc 画像の変更をカスタマイズする対象を選びます。 * @text 対象 * @type select * @option プレイヤー * @value -1 * @option このイベント * @value 0 * @option 他のイベント * @value 1 * @default 0 * @arg targetEventId * @desc 対象が他のイベントの場合のみ、対象となるイベントIDを設定します。 * @text 対象イベントID * @type number * @default 0 * @arg direction * @desc 画像の変更によって、キャラクターの向きを設定します。 * @text 向き * @type select * @option 変更しない * @value 0 * @option 下 * @value 2 * @option 左 * @value 4 * @option 右 * @value 6 * @option 上 * @value 8 * @default 0 * @arg pattern * @desc 画像の変更によって、キャラクターのパターンを設定します。 * @text パターン * @type select * @option 左 * @value 0 * @option 真ん中 * @value 1 * @option 右 * @value 2 * @default 1 * @arg fixPattern * @desc 画像の変更によってキャラクターのパターンを固定します。 * @text パターンを固定する * @type boolean * @default true * * @command unfixPattern * @text パターン固定の解除 * @desc パターン固定状態を解除します。 * @arg target * @desc 画像の変更をカスタマイズする対象を選びます。 * @text 対象 * @type select * @option プレイヤー * @value -1 * @option このイベント * @value 0 * @option 他のイベント * @value 1 * @default 0 * @arg targetEventId * @desc 対象が他のイベントの場合のみ、対象となるイベントIDを設定します。 * @text 対象イベントID * @type number * @default 0 * * @help * version: 1.0.1 * 画像の変更で向きやパターンを設定できるようにします。 */