当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
アイテムスロット - ItemSlot.js
シェア用テキスト:
▼アイテムスロット(@BananaPepperTK様作) - ItemSlot.js
https://plugin-mz.fungamemake.com/archives/1639
マップ上にアイテムスロットを表示します。
ふりがな:あいてむすろっと
機能概要: マップ上にアイテムスロットを表示します。
利用規約(ライセンス): MITライセンス
作者:@BananaPepperTK
作者サイト:https://twitter.com/BananaPepperTK
解説ページ:https://github.com/sevenspice/ItemSlot
ファイル名:ItemSlot.js
プラグインのヘルプ:
/*:ja * @target MZ * @plugindesc アイテムスロットプラグイン。 * @author @BananaPepperTK * * @help マップ上にアイテムスロットを表示します。 * * 詳細 * https://github.com/sevenspice/ItemSlot * * @param BackgroundColor * @desc スロットの背景色。 * @default 0x000000 * * @param SlotCount * @desc スロットの数。最小:1 最大:9 * @default 5 * * @param SlotMarginLeft * @desc スロット間の左マージン。 * @default 10 * * @param SlotMarginRight * @desc スロット間の右マージン。 * @default 10 * * @param SlotMarginTop * @desc スロットの上マージン。 * @default 10 * * @param SlotMarginBottom * @desc スロットの下マージン。 * @default 10 * * @param VerticalAlign * @desc アイテムスロットの配置位置。BOTTOM or TOP * @default BOTTOM * * @param SlotFontSize * @desc スロットに描画される数字のフォントサイズ。 * @default 10 * * @param ItemSlotFontSize * @desc アイテム一覧に描画される数字のフォントサイズ。 * @default 15 * * @param LineWeight * @desc 選択枠の線の太さ。 * @default 2 * * @param LineColor * @desc 選択枠の色。 * @default 0xF0E68C * * @param LineMargin * @desc 選択枠の上下左右マージン。 * @default 8 * * @command create * @text 生成 * @desc アイテムスロットを生成します。 * * @command show * @text 表示 * @desc アイテムスロットを表示します。 * * @command update * @text 更新 * @desc アイテムスロットを現在所有しているアイテムで更新します。 * * @command hide * @text 非表示 * @desc アイテムスロットを非表示にします。 * */