[過去ログ] RPGツクールMZ_3作目 (1002レス)
前次1-
抽出解除 必死チェッカー(本家) (べ) 自ID レス栞 あぼーん

このスレッドは過去ログ倉庫に格納されています。
次スレ検索 歴削→次スレ 栞削→次スレ 過去ログメニュー
リロード規制です。10分ほどで解除するので、他のブラウザへ避難してください。
17
(1): 2020/11/16(月)11:35 ID:f5+YBLMf(1)調 AAS
497行目のthis.drawText(item.name, x + textMargin, y, itemWidth);を
this.drawText(item.name, x + textMargin, y, itemWidth, "center");に変えれば
全てのアイテム/スキルが中央揃えになる(アイコン位置やコスト表示等の都合もあるからこれだけだと微妙な気もするけど)

スキルに限定するなら適当なプラグインファイルを作って中身を
Window_SkillList.prototype.drawItemName = function(item, x, y, width) {
if (item) {
const iconY = y + (this.lineHeight() - ImageManager.iconHeight) / 2;
const textMargin = ImageManager.iconWidth + 4;
const itemWidth = Math.max(0, width - textMargin);
this.resetTextColor();
this.drawIcon(item.iconIndex, x, iconY);
this.drawText(item.name, x + textMargin, y, itemWidth, "center");
}
};
とか処理内容を丸々上書きすれば良い
前次1-
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.032s