当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
YEP Battle Animation Speed Option - YEP_BattleAniSpeedOpt.js

▼YEP Battle Animation Speed Option(Yanfly様作) - YEP_BattleAniSpeedOpt.js
https://plugin.fungamemake.com/archives/10628
戦闘アニメーションの再生スピードを選択するオプションを追加
ふりがな:ばとるあにめーしょんすぴーどおぷしょん
機能概要: 戦闘アニメーションの再生スピードを選択するオプションを追加
利用規約(ライセンス):http://www.yanfly.moe/wiki/Category:Yanfly_Engine_Plugi…
作者:Yanfly
作者サイト:http://yanfly.moe/
解説ページ:https://fungamemake.com/archives/1524
ダウンロードページ:http://yanfly.moe/2018/02/09/yep-163-battle-animation-s…
ファイル名:YEP_BattleAniSpeedOpt.js
プラグインのヘルプ:
/*:ja * @plugindesc v1.01 戦闘アニメーションの再生スピードをオプションメニューから選択する機能を追加します * @author Yanfly Engine Plugins * * @help * 翻訳:ムノクラ * https://munokura.tk/ * https://twitter.com/munokura/ * * ============================================================================ * Introduction * ============================================================================ * * このプラグインは、プレイヤーがオプションメニューの中から * 戦闘アニメーションの再生スピードを選択する機能を追加します。 * 4つのリアルフレームにつき1つのアニメーションフレームを再生する * デフォルトの速度から、 * 1つのリアルフレームにつき1つのアニメーションフレームを再生する * 最速の設定まで、 * プレイヤーは物事の進行速度を選択できます。 * * ============================================================================ * Compatibility * ============================================================================ * * このプラグインは以下のプラグインと互換性があります。 * - YEP_BattleEngineCore * - YEP_X_ActSeqPack1 * - YEP_X_ActSeqPack2 * - YEP_X_ActSeqPack3 * * 表示されているプラグインを使用している場合、 * このプラグインをプラグインマネージャ管理の * 各プラグインの下に配置してください。 * アクションシーケンスがバトルアニメーションのスピードが * オプションで正しく機能するためです。 * * ============================================================================ * Options Core Settings - Adding the New Options * ============================================================================ * * YEP_OptionsCore.js を使用している場合、 * このプラグインを使用して新しいオプションを追加できます。 * 以下は共に使用できるコード/パラメータ設定です。 * * --------- * Settings: * --------- * * Name: * i[302]Battle Animation Speed * * Help Description: * Changes the speed of battle animations. * * Symbol: * battleAniSpeed * * Show/Hide: * show = Imported.YEP_BattleAniSpeedOpt; * * Enable: * enabled = true; * * Ext: * ext = 0; * * ---------- * Functions: * ---------- * * Make Option Code: * this.addCommand(name, symbol, enabled, ext); * * Draw Option Code: * var rect = this.itemRectForText(index); * var statusWidth = this.statusWidth(); * var quarterWidth = statusWidth / 4; * var titleWidth = rect.width - statusWidth; * this.resetTextColor(); * this.changePaintOpacity(this.isCommandEnabled(index)); * this.drawOptionsName(index); * var symbol = this.commandSymbol(index); * var value = this.getConfigValue(symbol); * this.changePaintOpacity(value === 4); * var text = this.battleAnimationSpeedText(4); * this.drawText(text, titleWidth + quarterWidth * 0, rect.y, quarterWidth, 'center'); * this.changePaintOpacity(value === 3); * var text = this.battleAnimationSpeedText(3); * this.drawText(text, titleWidth + quarterWidth * 1, rect.y, quarterWidth, 'center'); * this.changePaintOpacity(value === 2); * var text = this.battleAnimationSpeedText(2); * this.drawText(text, titleWidth + quarterWidth * 2, rect.y, quarterWidth, 'center'); * this.changePaintOpacity(value === 1); * var text = this.battleAnimationSpeedText(1); * this.drawText(text, titleWidth + quarterWidth * 3, rect.y, quarterWidth, 'center'); * * Process OK Code: * var index = this.index(); * var symbol = this.commandSymbol(index); * var value = this.getConfigValue(symbol); * value -= 1; * if (value <= 0) value = 4; * value = value.clamp(1, 4); * this.changeValue(symbol, value); * * Cursor Right Code: * var index = this.index(); * var symbol = this.commandSymbol(index); * var value = this.getConfigValue(symbol); * value -= 1; * value = value.clamp(1, 4); * this.changeValue(symbol, value); * * Cursor Left Code: * var index = this.index(); * var symbol = this.commandSymbol(index); * var value = this.getConfigValue(symbol); * value += 1; * value = value.clamp(1, 4); * this.changeValue(symbol, value); * * Default Config Code: * // Empty. Provided by this plugin. * * Save Config Code: * // Empty. Provided by this plugin. * * Load Config Code: * // Empty. Provided by this plugin. * * ============================================================================ * Changelog * ============================================================================ * * Version 1.01: * - Compatibility update with YEP_OptionsCore.js. * * Version 1.00: * - Finished Plugin! * * ============================================================================ * End of Helpfile * ============================================================================ * * @param ---一般--- * @default * * @param Option Name * @parent ---一般--- * @desc ゲーム内で使用されるオプションコマンドテキスト * @default 戦闘アニメーション * * @param Default Speed * @parent ---一般--- * @type number * @min 0 * @desc 戦闘アニメーションに使用されるデフォルトの速度 * @default 4 * * @param Affect Movement? * @parent ---一般--- * @type boolean * @on YES * @off NO * @desc バトラーの移動速度に影響を与えますか? * @default true * * @param Affect Waiting? * @parent ---一般--- * @type boolean * @on YES * @off NO * @desc 戦闘中のアニメーションの待機やイベントにも影響を与えますか? * @default true * * @param ---Vocabulary--- * @default * * @param Speed 1 * @parent ---Vocabulary--- * @desc スピードに使われる表示テキスト * @default 最速 * * @param Speed 2 * @parent ---Vocabulary--- * @desc スピードに使われる表示テキスト * @default 高速 * * @param Speed 3 * @parent ---Vocabulary--- * @desc スピードに使われる表示テキスト * @default 早送り * * @param Speed 4 * @parent ---Vocabulary--- * @desc スピードに使われる表示テキスト * @default 標準 * */