[過去ログ]
RPGツクールMZ_3作目 (1002レス)
RPGツクールMZ_3作目 http://mevius.5ch.net/test/read.cgi/gamedev/1605422419/
上
下
前次
1-
新
通常表示
512バイト分割
レス栞
抽出解除
必死チェッカー(本家)
(べ)
自ID
レス栞
あぼーん
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
17: 名前は開発中のものです。 [sage] 2020/11/16(月) 11:35:13 ID:f5+YBLMf 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"); } }; とか処理内容を丸々上書きすれば良い http://mevius.5ch.net/test/read.cgi/gamedev/1605422419/17
メモ帳
(0/65535文字)
上
下
前次
1-
新
書
関
写
板
覧
索
設
栞
歴
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.033s