Created
May 10, 2021 11:26
-
-
Save triacontane/0e9a0e1d809672f3b17efec00dcdc501 to your computer and use it in GitHub Desktop.
MZでアウトラインカラーを変更
This file contains 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 サンプルコード | |
* @target MZ | |
*/ | |
(()=> { | |
'use strict'; | |
const _Window_Base_createContents = Window_Base.prototype.createContents; | |
Window_Base.prototype.createContents = function() { | |
_Window_Base_createContents.apply(this, arguments); | |
this.contents.outlineWidth = 20; | |
}; | |
ColorManager.outlineColor = function() { | |
return "black"; | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment