RPGツクールMV用プラグイン投稿・告知サイト

#ツクプラ

ゲージ改変 - BB_DrawGauge.js

シェア用テキスト:
▼ゲージ改変(ビービー様作) - BB_DrawGauge.js
https://plugin.fungamemake.com/archives/11103
ゲージとゲージの枠の色をパラメータで指定

ふりがな:げーじかいへん

機能概要: ゲージとゲージの枠の色をパラメータで指定

利用規約(ライセンス):
・著作権:保持
・商用利用:許可
・追加改変:許可
・再配布:許可
・詳細はダウンロードページ・プラグイン内を確認

作者:ビービー

作者サイト:https://x.com/bb_enter

解説ページ:https://bb-entertainment-blog.blogspot.com/2016/10/blog…

直接ダウンロード:Zipファイル

ファイル名:BB_DrawGauge.js

プラグインのヘルプ:

/*:
 * @plugindesc ゲージ改造プラグイン
 * @author ビービー
 * 
 * @param GaugeFrameColor
 * @desc ゲージ枠色指定
 * デフォルト:0(白)
 * @default 0
 * 

 * @param GaugeHPColor1
 * @desc HPゲージ色指定1
 * デフォルト:20
 * @default 20
 * 
 * @param GaugeHPColor2
 * @desc HPゲージ色指定2
 * デフォルト:21
 * @default 21
 * 
 * @param GaugeMPColor1
 * @desc MPゲージ色指定1
 * デフォルト:22
 * @default 22
 * 
 * @param GaugeMPColor2
 * @desc MPゲージ色指定2
 * デフォルト:23
 * @default 23
 * 
 * @param GaugeTPColor1
 * @desc TPゲージ色指定1
 * デフォルト:28
 * @default 28
 * 
 * @param GaugeTPColor2
 * @desc TPゲージ色指定2
 * デフォルト:29
 * @default 29
 * 
 * @param GaugeBackColor
 * @desc ゲージ背景色指定
 * デフォルト:19(黒)
 * @default 19
 * 
 * @help ゲージをカスタマイズする事ができるプラグインです。
 * 
 * パラメータで枠の色を指定できます。
 * 
 * GaugeFrameColor:指定できる色はテキストカラーと同じです。
 * テキストカラーと同じ数字で指定してください。
 * 
 * もし枠を太くしたい場合はこのファイルをテキストエディターなどで開き以下の部分を消し
 *     var gaugeBB = y + this.lineHeight() - 9;
 *     this.contents.fillRect(x - 1, gaugeBB - 1, width + 2, 8, this.textColor(BB_GFC));
 *     this.contents.fillRect(x, gaugeY - 1, width, 6, this.gaugeBackColor());
 *     this.contents.gradientFillRect(x, gaugeY - 1, fillW, 6, color1, color2);
 * 以下のようにすることで倍の太さに変える事ができます。
 *     var gaugeBB = y + this.lineHeight() - 10;
 *     this.contents.fillRect(x - 2, gaugeBB - 2, width + 4, 10, this.textColor(BB_GFC));
 *     this.contents.fillRect(x, gaugeY - 2, width, 6, this.gaugeBackColor());
 *     this.contents.gradientFillRect(x, gaugeY - 2, fillW, 6, color1, color2);
 * 
 * パラメータでゲージの色を指定できます。
 * テキストカラーと同じ数字で指定してください。
 * HPゲージなど二色指定できるゲージはグラデーションで表示されます。
 * 同じ色にすることで単色にすることもできます。
 * 
 * 利用規約:
 *  作者に無断で改変、再配布が可能で、利用形態(商用、18禁利用等)
 *  についても制限はありません。
 * 
 * BLOG:http://bb-entertainment-blog.blogspot.jp/
 */

スポンサードリンク

スポンサードリンク

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