顔グラというシステム自体を消したいです
Posted: 2018年5月17日(木) 21:30
僕は今顔グラを使用しないゲームを作っています。
しかし、メニューを開くと顔グラの表示される部分に空白ができて、それが気になります。
それを消す方法は無いでしょうか?
しかし、メニューを開くと顔グラの表示される部分に空白ができて、それが気になります。
それを消す方法は無いでしょうか?
コード: 全て選択
Window_MenuStatus.prototype.drawItemImage = function(index) {
var actor = $gameParty.members()[index];
var rect = this.itemRect(index);
this.changePaintOpacity(actor.isBattleMember());
// this.drawActorFace(actor, rect.x + 1, rect.y + 1, Window_Base._faceWidth, Window_Base._faceHeight);
this.changePaintOpacity(true);
};
Window_MenuStatus.prototype.drawItemStatus = function(index) {
var actor = $gameParty.members()[index];
var rect = this.itemRect(index);
var x = rect.x + 162; //★
var y = rect.y + rect.height / 2 - this.lineHeight() * 1.5;
var width = rect.width - x - this.textPadding();
this.drawActorSimpleStatus(actor, x, y, width);
};
Window_SkillStatus.prototype.refresh = function() {
this.contents.clear();
if (this._actor) {
var w = this.width - this.padding * 2;
var h = this.height - this.padding * 2;
var y = h / 2 - this.lineHeight() * 1.5;
var width = w - 162 - this.textPadding();
// this.drawActorFace(this._actor, 0, 0, 144, h);
this.drawActorSimpleStatus(this._actor, 162, y, width);//★
}
};
Window_Status.prototype.drawBlock2 = function(y) {
// this.drawActorFace(this._actor, 12, y);
this.drawBasicInfo(204, y);//★
this.drawExpInfo(456, y);
};