当サイトの運営者です。ゲーム制作とプラグイン開発が好きで、コミュニティに貢献したいと考えています。
RPGツクールMZでゲームを制作中です。
※プログラマ・エンジニアではありません。
NUUN TPBタイムライン - NUUN_TPBTimeLine.js
シェア用テキスト:
▼NUUN TPBタイムライン(NUUN様作) - NUUN_TPBTimeLine.js
https://plugin-mz.fungamemake.com/archives/5802
戦闘画面にTPBタイムラインを表示します。バトラーが移動する方向は、上から下、下から上、左から右、右から左の4パターンから選択できます。
ふりがな:TPBたいむらいん
機能概要: 戦闘画面にTPBタイムラインを表示します。バトラーが移動する方向は、上から下、下から上、左から右、右から左の4パターンから選択できます。
利用規約(ライセンス): MITライセンス
作者:NUUN
作者サイト:https://github.com/nuun888
ダウンロードページ:https://raw.githubusercontent.com/nuun888/mz/master/NUU…
ファイル名:NUUN_TPBTimeLine.js
プラグインのヘルプ:
/*: * @target MZ * @plugindesc TPBタイムライン * @author NUUN * @version 1.1.8 * * @help * 戦闘画面にTPBタイムラインを表示します。 * バトラーが移動する方向は、上から下、下から上、左から右、右から左の4パターンから選択できます。 * * アクター、敵キャラのメモ欄 * <TimeLineImg:[img]> 画像タイプを画像に指定したときに表示する画像ファイル名を設定します。未指定の場合はキャラチップが表示されます。 * [img]:イメージファイル(拡張子なし) * * 敵キャラのメモ欄 * <TpbTimeLineCharacter:[img], [index]> 画像タイプをキャラチップに指定したときに表示する画像ファイル名を設定します。未指定の場合はモンスター画像で表示されます。 * [img]:characters直下のイメージファイル(拡張子なし) * [index]:インデックス * * * 利用規約 * このプラグインはMITライセンスで配布しています。 * * 更新履歴 * 2023/7/17 Ver.1.1.8 * キャストアイコンが表示されない問題を修正。 * 2023/7/15 Ver.1.1.7 * 競合対策表示モードを追加。 * 2023/2/25 Ver.1.1.6 * バトラーが増えた時の処理を修正。 * 2023/1/29 Ver.1.1.5 * 逃走に失敗するとタイムラインからに大きくはみ出る問題を修正。 * 2023/1/8 Ver.1.1.4 * 横方向のタイムラインのアンカーを修正。 * 2022/12/25 Ver.1.1.3 * フレーム設定の説明を修正。 * 2022/11/2 Ver.1.1.2 * 同一敵が複数いるときに表示されるアルファベットの表示をON、OFFする機能を追加。 * 2022/10/28 Ver.1.1.1 * 対象選択時のアクターまたは敵のアイコンをフラッシュするように修正。 * 2022/10/27 Ver.1.1.0 * タイムラインの動作処理を修正。 * 2022/7/10 Ver.1.0.1 * 敵の画像設定を画像に指定すると戦闘開始時にエラーが出る問題を修正。 * タイムラインの画面上の基本位置を設定する機能を追加。 * 2022/7/9 Ver.1.0.0 * 初版 * * * @param Setting * @text 基本設定 * @default //////////////////////////////// * * @param TPBTimeLineImg * @desc タイムライン画像。 * @text タイムライン画像 * @type file * @dir img/ * @default * @parent Setting * * @param TPBTimeLine_X * @desc タイムラインのX座標を指定します。 * @text タイムラインX座標 * @type number * @default 60 * @max 9999 * @min -9999 * @parent Setting * * @param TPBTimeLine_Y * @desc タイムラインのY座標を指定します。 * @text タイムラインY座標 * @type number * @default 20 * @max 9999 * @min -9999 * @parent Setting * * @param TPBTimeLineLength * @desc タイムラインの長さを指定します。 * @text タイムライン長 * @type number * @default 300 * @max 9999 * @min 0 * @parent Setting * * @param TimeLineDirection * @text タイムライン方向 * @desc タイムライン上のバトラーを動かす方向を指定します。 * @type select * @option 上から下 * @value 'down' * @option 下から上 * @value 'up' * @option 左から右 * @value 'right' * @option 右から左 * @value 'left' * @default 'up' * @parent Setting * * @param TPBTimeLineBattlerHeight * @desc バトラーの表示高さを指定します。 * @text バトラー表示高さ * @type number * @default 48 * @max 9999 * @min 0 * @parent Setting * * @param TimeLinePosition * @text タイムライン基本位置 * @desc タイムラインの画面上に表示する基本位置を指定します。 * @type select * @option 左 * @value 'left' * @option 右 * @value 'right' * @option 中央 * @value 'center' * @default 'left' * @parent Setting * * @param BattlerStatusShow * @text バトラーステータス非表示 * @desc バトラーステータスの元のTPBゲージを表示しません。 * @type boolean * @default true * @parent Setting * * @param TPBTimeLineActionImg * @desc アクション部分の画像。(手前に表示されます) * @text アクション画像 * @type file * @dir img/ * @default * @parent Setting * * @param TPBTimeLineActionImg_X * @desc アクション部分画像のX座標を指定します。 * @text アクション画像X座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent Setting * * @param TPBTimeLineActionImg_Y * @desc アクション部分画像のY座標を指定します。 * @text アクション画像Y座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent Setting * * @param CastIconSetting * @text キャスト時のアイコン設定 * @default //////////////////////////////// * * @param CastIconId * @desc キャストタイム中に表示するアイコンIDを指定します。0に指定した場合はスキル、アイテムのアイコンが表示されます。 * @text キャストタイムアイコンID * @type icon * @default 0 * @parent CastIconSetting * * @param CastIconScale * @desc キャストタイム中に表示するアイコンの拡大率(百分率)を指定します。 * @text キャストタイムアイコン拡大率 * @type number * @default 50 * @parent CastIconSetting * * @param FlameSetting * @text 移動フレーム設定 * @default //////////////////////////////// * * * @param ActionDuration * @desc アクションの指定座標に移動するフレーム数。 * @text アクション移動フレーム数 * @type number * @default 60 * @max 9999 * @min 0 * @parent Setting * * @param ActionReturnDuration * @desc 初期位置の座標に戻る時の移動フレーム数。 * @text 初期位置移動フレーム数 * @type number * @default 3 * @max 9999 * @min 0 * @parent Setting * * @param ActionResetDuration * @desc アクション終了後チャージ完了時の座標に戻る時の移動フレーム数。 * @text アクション終了後移動フレーム数 * @type number * @default 6 * @max 9999 * @min 0 * @parent Setting * * @param ActorSetting * @text アクター設定 * @default //////////////////////////////// * * @param TimeLineActorImgMode * @text 表示アクター画像タイプ * @desc 表示するアクターの画像タイプを指定します。 * @type select * @option キャラチップ * @value 'chip' * @option 画像 * @value 'imges' * @default 'chip' * @parent ActorSetting * * @param ActorImgDirekutoriy * @desc アクター表示画像のimgファイル直下のディレクトリを指定します。例:pictures またはpictures/sub * @text アクター表示画像ディレクトリファイル * @type string * @default pictures * @parent ActorSetting * * @param TPBTimeLineActor_X * @desc タイムライン上アクターのX座標を指定します。(タイムラインX座標からの相対) * @text タイムラインアクターX座標 * @type number * @default -30 * @max 9999 * @min -9999 * @parent ActorSetting * * @param TPBTimeLineActor_Y * @desc タイムライン上アクターのY座標を指定します。(タイムラインY座標からの相対) * @text タイムラインアクターY座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent ActorSetting * * @param ActorCastTimeSetting * @text キャストタイム時設定 * @default //////////////////////////////// * @parent ActorSetting * * @param TPBTimeLineActorCastTimeImg * @desc キャストタイム時の画像。(アクター背後されます) * @text キャストタイム時画像 * @type file * @dir img/ * @default * @parent ActorCastTimeSetting * * @param ActorChargedSetting * @text チャージ完了時設定 * @default //////////////////////////////// * @parent ActorSetting * * @param ActorCharged * @desc チャージ完了時の座標を指定します。 * @text チャージ完了時座標 * @type number * @default 60 * @max 9999 * @min -9999 * @parent ActorChargedSetting * * @param ActorActionSetting * @text アクション時設定 * @default //////////////////////////////// * @parent ActorSetting * * @param TPBTimeLineActionActor_X * @desc アクション時のX座標を指定します。(タイムラインX座標からの相対) * @text アクション時X座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent ActorActionSetting * * @param TPBTimeLineActionActor_Y * @desc アクション時のY座標を指定します。(タイムラインY座標からの相対) * @text アクション時Y座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent ActorActionSetting * * * @param EnemySetting * @text 敵キャラ設定 * @default //////////////////////////////// * * @param TimeLineEnemyImgMode * @text 表示敵キャラ画像タイプ * @desc 表示する敵キャラの画像タイプを指定します。 * @type select * @option モンスター画像 * @value 'enemy' * @option キャラチップ * @value 'chip' * @option 画像 * @value 'imges' * @default 'enemy' * @parent EnemySetting * * @param EnemyImgDirekutoriy * @desc 表示敵キャラ画像タイプが画像の時の敵キャラ表示画像のimgファイル直下のディレクトリを指定します。例:pictures またはpictures/sub * @text 敵キャラ表示画像ディレクトリファイル * @type string * @default pictures * @parent EnemySetting * * @param TPBTimeLineEnemy_X * @desc タイムライン上敵キャラのX座標を指定します。 * @text タイムライン敵キャラX座標 * @type number * @default 30 * @max 9999 * @min -9999 * @parent EnemySetting * * @param TPBTimeLineEnemy_Y * @desc タイムライン上敵キャラのY座標を指定します。 * @text タイムライン敵キャラY座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent EnemySetting * * @param EnemyLetterShow * @text 敵アルファベット表示 * @desc 同一敵が複数いるときに表示されるアルファベットを表示します。 * @type boolean * @default true * @parent EnemySetting * * @param EnemyCastTimeSetting * @text キャストタイム時設定 * @default //////////////////////////////// * @parent ActorSetting * * @param TPBTimeLineEnemyCastTimeImg * @desc キャストタイム時の画像。(敵キャラ画像背後されます) * @text キャストタイム時画像 * @type file * @dir img/ * @default * @parent EnemyCastTimeSetting * * @param EnemyChargedSetting * @text チャージ完了時時設定 * @default //////////////////////////////// * @parent EnemySetting * * @param EnemyCharged * @desc チャージ完了時の座標を指定します。 * @text チャージ完了時座標 * @type number * @default 60 * @max 9999 * @min -9999 * @parent EnemySetting * * @param EnemyActionSetting * @text アクション時設定 * @default //////////////////////////////// * @parent EnemySetting * * @param TPBTimeLineActionEnemy_X * @desc アクション時のX座標を指定します。(タイムラインX座標からの相対) * @text アクション時X座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent EnemyActionSetting * * @param TPBTimeLineActionEnemy_Y * @desc アクション時のY座標を指定します。(タイムラインY座標からの相対) * @text アクション時Y座標 * @type number * @default 0 * @max 9999 * @min -9999 * @parent EnemyActionSetting * * @param Anti-conflict settings * @text 競合対策設定 * @default //////////////////////////////// * * @param TimeLineDisplayMode * @text タイムライン表示モード * @desc タイムラインの表示モードを指定します。 * @type select * @option Sprite * @value 'Sprite' * @option Scene_Battle * @value 'Scene_Battle' * @default 'Sprite' * @parent SpecialSetting * * */