This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(()=> { | |
'use strict'; | |
const _Sprite_Actor_createMainSprite = Sprite_Actor.prototype.createMainSprite; | |
Sprite_Actor.prototype.createMainSprite = function() { | |
_Sprite_Actor_createMainSprite.apply(this, arguments); | |
this.addChild(this._weaponSprite); | |
}; | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://note.affi-sapo-sv.com//js-canvas-how-use.php | |
/*:ja | |
* @plugindesc 円グラフまたは折れ線グラフ | |
* @author | |
* | |
* @help | |
* 【プラグインコマンド】 | |
* PIE_GRAPH [グラフ番号] [中心座標X] [中心座標Y] [グラフ幅] [グラフ高さ] [グラフデータ変数] [ラベルデータ変数] [色データ変数] | |
* 円グラフ [グラフ番号] [中心座標X] [中心座標Y] [グラフ幅] [グラフ高さ] [グラフデータ変数] [ラベルデータ変数] [色データ変数] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _Window_SavefileList_itemRect = Window_SavefileList.prototype.itemRect; | |
Window_SavefileList.prototype.itemRect = function(index) { | |
var rect = _Window_SavefileList_itemRect.apply(this, arguments); | |
rect.height -= 100; | |
return rect; | |
}; | |
var _Window_SavefileList_itemHeight = Window_SavefileList.prototype.itemHeight; | |
Window_SavefileList.prototype.itemHeight = function() { | |
return _Window_SavefileList_itemHeight.apply(this, arguments) + 100; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
Number.prototype.padSpace = function(length){ | |
return String(this).padSpace(length); | |
}; | |
String.prototype.padSpace = function(length){ | |
var s = this; | |
while (s.length < length) { | |
s = ' ' + s; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bitmap = ImageManager.loadFace(faceName); | |
bitmap.addLoadListener(function() { | |
this.contents.blt(bitmap, 0, 0, 0, 0, 0, 0); | |
}.bind(this)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*~struct~SE: | |
* | |
* @param name | |
* @text ファイル名 | |
* @desc ファイル名です。 | |
* @require 1 | |
* @dir audio/se/ | |
* @type file | |
* @default | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
Input.keyMapper[65] = 'A'; // key code [A] | |
})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*: | |
* @plugindesc CallInterpreterMethod | |
* @target MZ | |
* | |
* @command COMMAND_SAMPLE | |
* @text コマンド名称 | |
* @desc コマンドの説明 | |
* | |
* This plugin is released under the MIT License. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Window_AudioCategory.prototype._refreshArrows = function() { | |
Window.prototype._refreshArrows.call(this); | |
var w = this._width; | |
var h = this._height; | |
var p = 24; | |
var q = p / 2; | |
this._downArrowSprite.rotation = 270 * Math.PI / 180; | |
this._downArrowSprite.move(w - q, h / 2); | |
this._upArrowSprite.rotation = 270 * Math.PI / 180; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
'use strict'; | |
Sprite_Actor.prototype.stepForward = function() {}; | |
})(); |