MZ用プラグイン

ピクチャの最大数変更 - MaxPicture.js

シェア用テキスト:
▼ピクチャの最大数変更(ポテトードラゴン様作) - MaxPicture.js
https://plugin-mz.fungamemake.com/archives/6640
ピクチャの最大数を変更し、101番以上のピクチャを操作できるプラグインコマンドを提供します。

ふりがな:ぴくちゃのさいだいすうへんこう

機能概要: ピクチャの最大数を変更し、101番以上のピクチャを操作できるプラグインコマンドを提供します。

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

作者:ポテトードラゴン

作者サイト:https://twitter.com/pota_gon

ダウンロードページ:https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/m…

ファイル名:MaxPicture.js

プラグインのヘルプ:

*:
@plugindesc
ピクチャの最大数変更 Ver1.0.1(2022/9/10)

@url https://raw.githubusercontent.com/pota-gon/RPGMakerMZ/main/plugins/Max/MaxPicture.js
@target MZ
@author ポテトードラゴン

・アップデート情報
- ヘルプ修正
- 他プラグイン導入時の convertBool が無条件で true を返すバグ修正

Copyright (c) 2024 ポテトードラゴン
Released under the MIT License.
https://opensource.org/licenses/mit-license.php

@help
## 概要
ピクチャの最大数を変更し、
101番以上のピクチャを操作できるプラグインコマンドを提供します。

## 使い方
パラメータを変更し、ピクチャの最大数を変更してください。  
導入時は、200 となっています。  
※ 最大数をあまり増やしすぎるとフリーズするので、  
   変更できるのは、 9999 までとしています。

プラグインコマンドから 101番 以上のピクチャを操作することができます。  

@param MaxPicture
@type number
@text ピクチャの最大数
@desc ピクチャの最大数を 0 ~ 9999 で指定します
@default 200
@min 0
@max 9999

@command show_picture
@text ピクチャの表示
@desc イベントコマンドからのピクチャ番号以上の操作を可能にします

    @arg pictureId
    @type number
    @text ピクチャ番号
    @desc ピクチャの番号を 1 ~ 9999 で指定します
    @default 101
    @min 1
    @max 9999

        @arg name
        @parent pictureId
        @type file
        @dir img/pictures
        @text ピクチャ画像
        @desc ピクチャの画像を指定します

    @arg origin
    @type select
    @text 原点
    @desc 位置の原点を指定します
    @default 0
    @option 左上
    @value 0
    @option 中央
    @value 1

        @arg x
        @parent origin
        @type number
        @text X 座標(直接指定)
        @desc 位置のX座標を -9999 ~ 9999 で指定します
        @default 0
        @min -9999
        @max 9999

        @arg y
        @parent origin
        @type number
        @text Y 座標(直接指定)
        @desc 位置のY座標を -9999 ~ 9999 で指定します
        @default 0
        @min -9999
        @max 9999

        @arg var_x
        @parent origin
        @type variable
        @text X 座標(変数で指定)
        @desc 位置のX座標を変数で指定します
              0 を指定した場合は、直接指定の座標を使用します
        @default 0

        @arg var_y
        @parent origin
        @type variable
        @text Y 座標(変数で指定)
        @desc 位置のY座標を変数で指定します
              0 を指定した場合は、直接指定の座標を使用します
        @default 0

    @arg scaleX
    @type number
    @text 幅
    @desc 拡大率の幅をを -2000 ~ 2000 %で指定します
    @default 100
    @min -2000
    @max 2000

    @arg scaleY
    @type number
    @text 高さ
    @desc 拡大率の高さをを -2000 ~ 2000 %で指定します
    @default 100
    @min -2000
    @max 2000

    @arg opacity
    @type number
    @text 不透明度
    @desc 合成の不透明度を 0 ~ 255 で指定します
    @default 255
    @min 0
    @max 255

        @arg blendMode
        @parent opacity
        @type select
        @text 合成方法
        @desc 合成方法を指定します
        @default 0
        @option 通常
        @value 0
        @option 加算
        @value 1
        @option 乗算
        @value 2
        @option スクリーン
        @value 3

@command move_picture
@text ピクチャの移動
@desc イベントコマンドからのピクチャ番号以上の操作を可能にします

    @arg pictureId
    @type number
    @text ピクチャ番号
    @desc ピクチャの番号を 1 ~ 9999 で指定します
    @default 101
    @min 1
    @max 9999

    @arg easingType
    @type select
    @text イージングタイプ
    @desc イージングタイプを指定します
    @default 0
    @option 一定速度
    @value 0
    @option ゆっくり始まる
    @value 1
    @option ゆっくり終わる
    @value 2
    @option ゆっくり始まってゆっくり終わる
    @value 3

    @arg origin
    @type select
    @text 原点
    @desc 位置の原点を指定します
    @default 0
    @option 左上
    @value 0
    @option 中央
    @value 1

        @arg x
        @parent origin
        @type number
        @text X 座標(直接指定)
        @desc 位置のX座標を -9999 ~ 9999 で指定します
        @default 0
        @min -9999
        @max 9999

        @arg y
        @parent origin
        @type number
        @text Y 座標(直接指定)
        @desc 位置のY座標を -9999 ~ 9999 で指定します
        @default 0
        @min -9999
        @max 9999

        @arg var_x
        @parent origin
        @type variable
        @text X 座標(変数で指定)
        @desc 位置のX座標を変数で指定します
              0 を指定した場合は、直接指定の座標を使用します
        @default 0

        @arg var_y
        @parent origin
        @type variable
        @text Y 座標(変数で指定)
        @desc 位置のY座標を変数で指定します
              0 を指定した場合は、直接指定の座標を使用します
        @default 0

    @arg scaleX
    @type number
    @text 幅
    @desc 拡大率の幅を -2000 ~ 2000 %で指定します
    @default 100
    @min -2000
    @max 2000

    @arg scaleY
    @type number
    @text 高さ
    @desc 拡大率の高さを -2000 ~ 2000 %で指定します
    @default 100
    @min -2000
    @max 2000

    @arg opacity
    @type number
    @text 不透明度
    @desc 合成の不透明度を 0 ~ 255 で指定します
    @default 255
    @min 0
    @max 255

        @arg blendMode
        @parent opacity
        @type select
        @text 合成方法
        @desc 合成方法を指定します
        @default 0
        @option 通常
        @value 0
        @option 加算
        @value 1
        @option 乗算
        @value 2
        @option スクリーン
        @value 3

    @arg duration
    @type number
    @text フレーム(1/60秒)
    @desc 移動時間を 1 ~ 999 フレーム(1/60秒) で指定します
    @default 60
    @min 1
    @max 999

    @arg wait
    @parent duration
    @type boolean
    @text 完了までウェイト
    @desc 完了までウェイトするか
    @on ウェイトする
    @off ウェイトしない
    @default true

@command rotate_picture
@text ピクチャの回転
@desc イベントコマンドからのピクチャ番号以上の操作を可能にします

    @arg pictureId
    @type number
    @text ピクチャ番号
    @desc ピクチャの番号を 1 ~ 9999 で指定します
    @default 101
    @min 1
    @max 9999

    @arg speed
    @type number
    @text 回転の速度
    @desc 回転の速度を -90 ~ 90 で指定します
    @default 0
    @min -90
    @max 90

@command tint_picture
@text ピクチャの色調変更
@desc イベントコマンドからのピクチャ番号以上の操作を可能にします

    @arg pictureId
    @type number
    @text ピクチャ番号
    @desc ピクチャの番号を 1 ~ 9999 で指定します
    @default 101
    @min 1
    @max 9999

    @arg toneType
    @type select
    @text 色調
    @desc 色調の種類を指定します
    通常の場合、後続の色設定で指定した値を使用します
    @default 通常
    @option 通常
    @option ダーク
    @option セピア
    @option 夕暮れ
    @option 夜

        @arg red
        @parent toneType
        @type number
        @text 赤
        @desc 色調の赤を -255 ~ 255 で指定します
        @default 0
        @min -255
        @max 255

        @arg green
        @parent toneType
        @type number
        @text 緑
        @desc 色調の緑を -255 ~ 255 で指定します
        @default 0
        @min -255
        @max 255

        @arg blue
        @parent toneType
        @type number
        @text 青
        @desc 色調の青を -255 ~ 255 で指定します
        @default 0
        @min -255
        @max 255

        @arg gray
        @parent toneType
        @type number
        @text グレー
        @desc 色調のグレーを 0 ~ 255 で指定します
        @default 0
        @min 0
        @max 255

    @arg duration
    @type number
    @text フレーム(1/60秒)
    @desc 移動時間を 1 ~ 999 フレーム(1/60秒) で指定します
    @default 60
    @min 1
    @max 999

        @arg wait
        @parent duration
        @type boolean
        @text 完了までウェイト
        @desc 完了までウェイトするか
        @on ウェイトする
        @off ウェイトしない
        @default true

@command erase_picture
@text ピクチャの消去
@desc イベントコマンドからのピクチャ番号以上の操作を可能にします

    @arg pictureId
    @type number
    @text ピクチャ番号
    @desc ピクチャの番号を 1 ~ 9999 で指定します
    @default 101
    @min 1
    @max 9999
*/

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

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