当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
MPP キャラ追従ピクチャ - MPP_PastePicture.js
シェア用テキスト:
▼MPP キャラ追従ピクチャ(木星ペンギン様作) - MPP_PastePicture.js
https://plugin-mz.fungamemake.com/archives/7394
キャラクターに追従するピクチャを表示します。
ふりがな:きゃらついじゅうぴくちゃ
機能概要: キャラクターに追従するピクチャを表示します。
利用規約(ライセンス): MITライセンス
作者:木星ペンギン
作者サイト:https://woodpenguin.web.fc2.com/
解説ページ:https://woodpenguin.web.fc2.com/MV_Plugin/PastePicture.…
ファイル名:MPP_PastePicture.js
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc キャラクターに追従するピクチャを表示します。 * @author 木星ペンギン * @url * * @help [version 1.0.0] * - このプラグインはRPGツクールMZ用です。 * * - キャラクターの足元が基準位置(X:0,Y:0)となります。 * - ピクチャの原点は中心位置固定です。 * * ▼ プラグインコマンド * - 数値を入力する項目で、テキストを選択して v[N] と記述することで * 変数N番を参照します。 * - 移動系のコマンドに[完了までウェイト]を行う機能はありません。 * * ================================ * Mail : wood_penguin@yahoo.co.jp (@は半角) * Blog : http://woodpenguin.blog.fc2.com/ * License : MIT license * * @command show * @text ピクチャ表示 * @desc * @arg pictureId * @text ピクチャ番号 * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg name * @text 画像 * @desc * @type file * @require 1 * @dir img/pictures * @default * @arg character * @text 対象キャラクター * @desc -1:プレイヤー, 0:このイベント, 1...:イベントID * @type number * @min -1 * @max 999 * @default 0 * @arg x * @text X * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg y * @text Y * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg scaleX * @text 拡大率:幅 * @desc 100 = 等倍 / マイナス値で左右反転 * @type number * @min -2000 * @max 2000 * @default 100 * @arg scaleY * @text 拡大率:高さ * @desc 100 = 等倍 / マイナス値で上下反転 * @type number * @min -2000 * @max 2000 * @default 100 * @arg opacity * @text 不透明度 * @desc * @type number * @min 0 * @max 255 * @default 255 * @arg angle * @text 角度 * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg priority * @text プライオリティ * @desc * @type select * @option 通常キャラの下 * @value 0 * @option 通常キャラと同じ * @value 1 * @option 通常キャラの上 * @value 2 * @default 2 * * @command anime * @text ピクチャアニメーション * @desc 画像を横方向にパターンの数で分割したものを1ブロックとして * 順に表示していきます。 * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg pattern * @text パターン数 * @desc * @type number * @min 1 * @max 100 * @default 3 * @arg interval * @text アニメーション間隔 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 15 * @arg endType * @text 終了タイプ * @desc * @type select * @option 停止 * @value stop * @option 繰り返し * @value repeat * @default repeat * * @command move * @text ピクチャ移動 * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg x * @text X * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg y * @text Y * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg duration * @text 時間 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 60 * @arg easing * @text イージング * @desc * @type select * @option 一定速度 * @value Straight * @option ゆっくり始まる * @value Slow start * @option ゆっくり終わる * @value Slow end * @option ゆっくり始まってゆっくり終わる * @value Slow start and end * @default Straight * * @command jump * @text ピクチャジャンプ * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg altitude * @text 高度 * @desc * @type number * @min 1 * @max 9999 * @default 48 * @arg duration * @text 時間 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 60 * * @command zoom * @text ピクチャズーム * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg scaleX * @text 拡大率:幅 * @desc 100 = 等倍 / マイナス値で左右反転 * @type number * @min -2000 * @max 2000 * @default 100 * @arg scaleY * @text 拡大率:高さ * @desc 100 = 等倍 / マイナス値で上下反転 * @type number * @min -2000 * @max 2000 * @default 100 * @arg duration * @text 時間 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 60 * @arg easing * @text イージング * @desc * @type select * @option 一定速度 * @value Straight * @option ゆっくり始まる * @value Slow start * @option ゆっくり終わる * @value Slow end * @option ゆっくり始まってゆっくり終わる * @value Slow start and end * @default Straight * * @command transparent * @text ピクチャ透過 * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg opacity * @text 不透明度 * @desc * @type number * @min 0 * @max 255 * @default 255 * @arg duration * @text 時間 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 60 * @arg easing * @text イージング * @desc * @type select * @option 一定速度 * @value Straight * @option ゆっくり始まる * @value Slow start * @option ゆっくり終わる * @value Slow end * @option ゆっくり始まってゆっくり終わる * @value Slow start and end * @default Straight * * @command rotate * @text ピクチャ回転 * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * @arg angle * @text 角度 * @desc * @type number * @min -10000 * @max 10000 * @default 0 * @arg duration * @text 時間 * @desc フレーム(1/60秒) * @type number * @min 1 * @max 999 * @default 60 * @arg easing * @text イージング * @desc * @type select * @option 一定速度 * @value Straight * @option ゆっくり始まる * @value Slow start * @option ゆっくり終わる * @value Slow end * @option ゆっくり始まってゆっくり終わる * @value Slow start and end * @default Straight * * @command erase * @text ピクチャ削除 * @desc * @arg pictureId * @text ピクチャID * @desc * @type number * @min 1 * @max 100 * @default 1 * * * @param Max Paste Pictures * @text ピクチャの最大数 * @desc * @type number * @min 1 * @max 100 * @default 4 * */