ページ 11

AltMenuScreen3 について

Posted: 2016年6月22日(水) 23:03
by 草津たぬきち
AltMenuScreen3ではメニュー画面の各シーンの背景を透明にし、個別に背景画像を設定できますが、
アイテム選択後アイテムを味方に使う場合と、スキルを選択後スキルを味方に使う場合
それぞれの選択画面の下半分がキャラクターセレクトに切り替わってしまうため
レイアウトを弄って専用に用意したアイテム選択画面の背景画像と、スキル選択選択画面の背景画像の上に
キャラクターの画像が載ってしまい不恰好になってしまいます。

これを解消するため、それぞれの選択画面のキャラクターセレクト時専用の背景画像を用意し
別の背景画像を設定する、もしくはそれ以外の方法でよい解決方法は無いでしょうか?

よろしくお願いします。

Re: AltMenuScreen3 について

Posted: 2017年1月28日(土) 13:38
by まっつUP
草津たぬきち様
お世話になります。
プラグイン中の即時関数の中にこれらをぶち込んでください。

var _Scene_ItemBase_activateItemWindow = Scene_ItemBase.prototype.activateItemWindow;
Scene_ItemBase.prototype.activateItemWindow = function() {
_Scene_ItemBase_activateItemWindow.call(this);
this._itemWindow.show();
this._helpWindow.show();
};

var _Scene_Item_onItemOk = Scene_Item.prototype.onItemOk;
Scene_Item.prototype.onItemOk = function() {
this._itemWindow.hide();
this._helpWindow.hide();
_Scene_Item_onItemOk.call(this);
};

var _Scene_Skill_onItemOk = Scene_Skill.prototype.onItemOk;
Scene_Skill.prototype.onItemOk = function() {
this._itemWindow.hide();
this._helpWindow.hide();
_Scene_Skill_onItemOk.call(this);
};