Skip to content

Instantly share code, notes, and snippets.

View triacontane's full-sized avatar

トリアコンタン triacontane

View GitHub Profile
@triacontane
triacontane / CallPluginCommnad.js
Created June 12, 2022 05:38
プラグインコマンド呼び出し例
PluginManager.callCommand(this, 'Chronus','ADD_TIME', {"time":"12"})
@triacontane
triacontane / BindMKey.js
Created June 9, 2022 15:55
Mキーを割り当て
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc Mキーをマップボタンに割り当て
* @target MZ
* @author トリアコンタン
@triacontane
triacontane / IsPictureMove.js
Created June 4, 2022 17:22
ピクチャが移動中かどうかの判定
$gameScreen.picture(1)._duration > 0
updatePosition() {
this.x = this._data.X;
this.y = this._data.Y;
if (this._data.Origin === 1) {
this.anchor.x = 0.5;
this.anchor.y = 0.5;
} else {
this.anchor.x = 0.0;
this.anchor.y = 0.0;
}
@triacontane
triacontane / ActorWeapon.js
Last active June 1, 2022 12:46
指定アクターの装備武器名を取得
const id = 1;
const index = 0;
$gameActors.actor(id).weapons()[index]?.name || ' ';
@triacontane
triacontane / LoadImageWait.js
Created May 25, 2022 16:39
イベント開始時の画像先読み待機
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc イベント開始時の画像先読み待機
* @target MZ
* @author トリアコンタン
@triacontane
triacontane / ChangeHelpFontSize.js
Created May 24, 2022 19:21
ヘルプウィンドウのフォントサイズ変更
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc ヘルプウィンドウの文字サイズ変更
* @target MZ
* @author トリアコンタン
@triacontane
triacontane / CommandHideOnEvent.js
Last active May 10, 2022 12:09
イベント実行中はコマンドウィンドウを閉じる
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc イベント時のアクターコマンド非表示
* @target MZ
* @author トリアコンタン
@triacontane
triacontane / MzPlugin.js
Created May 4, 2022 08:28
MZプラグインとして導入するときに警告を表示しないようにする
/*: @target MZ */
@triacontane
triacontane / BattleBackNonScale.js
Last active April 20, 2022 15:15
戦闘背景の等倍表示
/*=============================================================================
(C)2022 Triacontane
This software is released under the MIT License.
http://opensource.org/licenses/mit-license.php
=============================================================================*/
/*:
* @plugindesc 戦闘背景の等倍表示
* @target MZ
* @author トリアコンタン