Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created May 10, 2021 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save triacontane/0e9a0e1d809672f3b17efec00dcdc501 to your computer and use it in GitHub Desktop.
Save triacontane/0e9a0e1d809672f3b17efec00dcdc501 to your computer and use it in GitHub Desktop.
MZでアウトラインカラーを変更
/*:
* @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