MZ用プラグイン

スクロールボックスウィンドウ - ScrollBoxWindow.js

シェア用テキスト:
▼スクロールボックスウィンドウ(あわやまたな様作) - ScrollBoxWindow.js
https://plugin-mz.fungamemake.com/archives/6489
スクロールできるウィンドウを生成します。

ふりがな:すくろーるぼっくすうぃんどう

機能概要: スクロールできるウィンドウを生成します。

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

作者:あわやまたな

作者サイト:https://awaya3ji.seesaa.net/

解説ページ:https://awaya3ji.seesaa.net/article/500204251.html

ファイル名:ScrollBoxWindow.js

プラグインのヘルプ:

/*:ja
* @target MZ
* @plugindesc スクロールできるウィンドウを生成します。
* @author あわやまたな (Awayamatana)
* @url https://awaya3ji.seesaa.net/article/500204251.html
* @help プラグインコマンドで生成し、キーやマウスでスクロールします。
* [更新履歴]
* 2023/07/31:Ver.1.0.0 公開。
* 2023/11/11:Ver.1.1.0 ウィンドウをスクロールするプラグインコマンドを追加。
* 2023/11/12:Ver.1.1.1 ウィンドウの初期スクロール位置を設定可能にしました。
*
* @param bitmapHeight
* @text ビットマップ高さ
* @desc 生成するビットマップ高さの最大値です。
* 基本的に変更する必要はありません。
* @type number
* @default 2048
*
* @command createWindow
* @text ウィンドウ生成
* @desc スクロールボックスウィンドウを生成します。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg text
* @text テキスト
* @type multiline_string
* @default 
*
* @arg x
* @text X座標
* @type combo
* @option 中
* @option 右
* @default 0
*
* @arg y
* @text Y座標
* @type combo
* @option 中
* @option 下
* @default 0
*
* @arg width
* @text 幅
* @type combo
* @default UIエリアの幅
* @option UIエリアの幅
* @option UIエリアの半分の幅
*
* @arg height
* @text 高さ
* @type combo
* @default UIエリアの高さ
* @option UIエリアの高さ
* @option UIエリアの半分の高さ
*
* @arg scrollY
* @text スクロールY
* @type combo
* @default 0
* @option 下
*
* @arg backgroundType
* @text 背景
* @type select
* @default ウィンドウ
* @option ウィンドウ
* @option 暗くする
* @option 透明
*
* @arg windowskin
* @text ウィンドウスキン
* @type file
* @dir img/system
* @default 
*
* @arg backOpacity
* @text 背景不透明度
* @desc -1でデフォルト
* @type number
* @min -1
* @max 255
* @default -1
*
* @command changeText
* @text 文章の変更
* @desc 表示する文章を変更します。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg text
* @text テキスト
* @type multiline_string
* @default 
*
* @command changeActive
* @text アクティブの変更
* @desc スクロールの可否を変更します。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg boolean
* @text 真偽値
* @type boolean
* @default false
*
* @command moveWindow
* @text ウィンドウの移動
* @desc ウィンドウの移動を行います。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default  
*
* @arg x
* @text X座標
* @type combo
* @option 中
* @option 右
* @default 0
*
* @arg y
* @text Y座標
* @type combo
* @option 中
* @option 下
* @default 0
*
* @command scrollWindow
* @text ウィンドウのスクロール
* @desc ウィンドウを指定位置までスクロールします。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg scrollY
* @text スクロールY
* @type combo
* @default 0
* @option 下
*
* @arg smooth
* @text なめらか
* @type boolean
* @default false
*
* @command scrollWindowBy
* @text ウィンドウの相対スクロール
* @desc ウィンドウを指定された数だけスクロールします。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg scrollY
* @text スクロールY
* @default 0
*
* @arg smooth
* @text なめらか
* @type boolean
* @default false
*
* @command changeWindow
* @text ウィンドウの変更
* @desc ウィンドウの開閉を行います。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg operation
* @text 操作
* @type select
* @default open
* @option 開く
* @value open
* @option 閉じる
* @value close
*
* @arg instant
* @text 瞬間
* @type boolean
* @default false
*
* @command eraseWindow
* @text ウィンドウの消去
* @desc ウィンドウを消去します。
*
* @arg id
* @text 識別子
* @desc 操作するウィンドウの名前です。
* @default 
*
* @arg instant
* @text 瞬間
* @type boolean
* @default false
*
*/

スポンサードリンク

スポンサードリンク

-MZ用プラグイン

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